diff --git a/web/components/top_bar.tsx b/web/components/top_bar.tsx index a255d6c9..206ce596 100644 --- a/web/components/top_bar.tsx +++ b/web/components/top_bar.tsx @@ -104,12 +104,12 @@ export function TopBar({
{progressPerc !== undefined && ( -
+
- {progressPerc}% + {progressPerc}
)} diff --git a/web/styles/colors.scss b/web/styles/colors.scss index 369cedb3..9bc85f1c 100644 --- a/web/styles/colors.scss +++ b/web/styles/colors.scss @@ -73,8 +73,11 @@ } .sb-actions button { + width: 28px; + height: 28px; border: 0; - margin: 3px; + margin: 2px; + margin-top: 6px; padding: 5px; background-color: var(--action-button-background-color); color: var(--action-button-color); diff --git a/web/styles/main.scss b/web/styles/main.scss index 59f18a3f..b02dcfe8 100644 --- a/web/styles/main.scss +++ b/web/styles/main.scss @@ -65,7 +65,7 @@ body { max-width: var(--#{"editor-width"}); margin: auto; font-size: 28px; - padding: 10px 0; + padding: 8px 0; display: flex; flex-direction: row; @@ -112,6 +112,7 @@ body { .cm-line { padding: 0; + caret-color: var(--editor-caret-color); } } } @@ -119,7 +120,6 @@ body { .sb-actions { display: flex; - align-items: baseline; flex: 0 0 auto; text-align: right; } @@ -127,10 +127,9 @@ body { .progress-wrapper { display: inline-block; position: relative; - top: -6px; + margin-top: 4px; padding: 4px; background-color: var(--top-background-color); - margin-right: -2px; } .progress-bar { @@ -138,15 +137,11 @@ body { justify-content: center; align-items: center; - width: 20px; - height: 20px; + width: 24px; + height: 24px; border-radius: 50%; - font-size: 6px; + font-size: 8px; } - - // .progress-bar::before { - // content: "66%"; - // } } .sb-panel {