From 843c7c4399fa8642999e5f718d2a80829a4bc756 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Tue, 20 Jun 2023 14:17:57 -0400 Subject: [PATCH] Move style info out of template --- .../vue/components/CompositeLayers.vue | 51 +++++++++++-------- .../vue/components/FrameSelector.vue | 11 ++-- .../vue/components/HistogramEditor.vue | 12 +++-- 3 files changed, 46 insertions(+), 28 deletions(-) diff --git a/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue b/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue index b89cb004a..c7122dbe0 100644 --- a/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue +++ b/girder/girder_large_image/web_client/vue/components/CompositeLayers.vue @@ -206,9 +206,9 @@ export default { - +
- Auto Range + Auto Range
+ -
- {{ expandedRows.length === layers.length ? '˄' : '˅'}} -
@@ -247,9 +244,9 @@ export default { framedelta } in Object.values(compositeLayerInfo)" :key="layerName" - :style="expandedRows.includes(index) ? {height: '75px'} : {}" + :class="expandedRows.includes(index) ? 'tall-row' : ''" > - + - {{ layerName }} - + {{ layerName }} + -
- {{ expandedRows.includes(index) ? '˄' : '˅'}} -
+
- - + +