From 6766e0d4376e6e8f0cc0fe665849cf181b84eead Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 3 Nov 2023 14:55:07 +0800 Subject: [PATCH] fix: ui show user-name next to the user-icon (#278) --- assets/index.css | 11 ++++++++++- assets/index.html | 3 ++- assets/index.js | 9 +++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/assets/index.css b/assets/index.css index c68f139..69b306e 100644 --- a/assets/index.css +++ b/assets/index.css @@ -210,7 +210,7 @@ body { outline: none; } -.toolbox2 { +.toolbox-right { margin-left: auto; margin-right: 2em; } @@ -220,6 +220,15 @@ body { user-select: none; } +.user-btn { + display: flex; + align-items: center; +} + +.user-name { + padding-left: 3px; +} + .not-editable { font-style: italic; } diff --git a/assets/index.html b/assets/index.html index 17cd8a5..a1b865d 100644 --- a/assets/index.html +++ b/assets/index.html @@ -77,7 +77,7 @@ -
+