Skip to content

Commit a445249

Browse files
committed
Refine titlebar toolbar underline
1 parent f0564a3 commit a445249

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to Forge are documented in this file.
55
## [Unreleased]
66

77
- Defaulted first-run sidebar appearance to glass mode.
8+
- Moved animated titlebar toolbar underlines inside the active icon button.
89

910
## [0.0.14]
1011

‎src/styles.css‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,12 +698,14 @@ input {
698698

699699
.project-view-button {
700700
position: relative;
701+
overflow: hidden;
701702
width: 28px;
702703
height: 28px;
703704
border-radius: 6px;
704705
}
705706

706707
.project-view-button.active {
708+
background: var(--hover-bg);
707709
color: var(--text-strong);
708710
}
709711

@@ -1025,10 +1027,9 @@ input {
10251027
}
10261028

10271029
.project-view-switcher .sliding-tab-underline {
1028-
right: auto;
1029-
bottom: -4px;
1030-
width: calc(var(--tab-underline-width, 0px) - 10px);
1031-
transform: translateX(calc(var(--tab-underline-left, 0px) + 5px));
1030+
bottom: 3px;
1031+
width: calc(var(--tab-underline-width, 0px) - 12px);
1032+
transform: translateX(calc(var(--tab-underline-left, 0px) + 6px));
10321033
}
10331034

10341035
.sidebar-tab span,

0 commit comments

Comments
 (0)