From 5af66591da086ef9e7565e23123ec91bff79c619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 5 May 2021 11:14:08 +0200 Subject: [PATCH] adds active indicator to sidenav --- .../builder/src/pages/portal/_layout.svelte | 39 ++++++++++++++----- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/packages/builder/src/pages/portal/_layout.svelte b/packages/builder/src/pages/portal/_layout.svelte index 23bf9579ca..866695be24 100644 --- a/packages/builder/src/pages/portal/_layout.svelte +++ b/packages/builder/src/pages/portal/_layout.svelte @@ -1,6 +1,8 @@
@@ -38,15 +52,9 @@
@@ -55,7 +63,8 @@
- + +
@@ -91,6 +100,16 @@ .content { padding: var(--spacing-m); } + .avatar { + display: grid; + grid-template-columns: auto auto; + place-items: center; + grid-gap: var(--spacing-xs); + } + .avatar:hover { + cursor: pointer; + filter: brightness(110%); + } .toolbar { border-bottom: 2px solid var(--spectrum-alias-background-color-primary); display: grid;