From 76d3e8cde42c0959bb8536c92321db93726d4b06 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Thu, 6 May 2021 01:05:10 -0700 Subject: [PATCH] Styling improvements to layers --- .../web/src/components/panels/LayerTree.vue | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/client/web/src/components/panels/LayerTree.vue b/client/web/src/components/panels/LayerTree.vue index 0b04c143..8e0189ed 100644 --- a/client/web/src/components/panels/LayerTree.vue +++ b/client/web/src/components/panels/LayerTree.vue @@ -18,12 +18,14 @@ -
-
- -
-
- Foo bar +
+
+
+ +
+
+ Foo bar +
@@ -41,15 +43,27 @@ .layer-row { display: flex; - height: 24px; + height: 36px; align-items: center; + margin: 0 8px; + + .layer { + display: flex; + align-items: center; + background: #555; + border-radius: 4px; + width: 100%; + height: 100%; + margin-left: 4px; + padding-left: 16px; + } & + .layer-row { margin-top: 2px; } .layer-thumbnail { - width: 36px; + width: 64px; height: 100%; background: white; }