Skip to content

Commit 8feb773

Browse files
authored
Refresh widget separator adjustments (#5059)
* Add back refresh-widget box-shadow for desktop view * Change refresh widget left border color to match box-shadow, & have it disappear on mobile view
1 parent 35dc688 commit 8feb773

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/renderer/components/ft-refresh-widget/ft-refresh-widget.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
padding-inline: 10px;
99
box-shadow: 0 2px 1px 0 var(--primary-shadow-color);
1010
background-color: var(--card-bg-color);
11-
border-inline-start: 2px solid var(--primary-color);
11+
border-inline-start: 2px solid var(--primary-shadow-color);
1212
display: flex;
1313
align-items: center;
1414
gap: 5px;
@@ -33,5 +33,6 @@
3333
@media only screen and (width <= 680px) {
3434
.floatingRefreshSection, .floatingRefreshSection.sideNavOpen {
3535
inline-size: 100%;
36+
border-inline-start: none;
3637
}
3738
}

src/renderer/components/top-nav/top-nav.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
inline-size: 100%;
2222
z-index: 4;
2323

24-
&:has(+ .sideNav + .routerView .floatingRefreshSection) {
25-
box-shadow: none;
26-
}
27-
2824
@media only screen and (width >= 961px) {
2925
display: grid;
3026
grid-template-columns: 1fr 440px 1fr;
@@ -36,6 +32,10 @@
3632

3733
@media only screen and (width <= 680px) {
3834
position: fixed;
35+
36+
&:has(+ .sideNav + .routerView .floatingRefreshSection) {
37+
box-shadow: none;
38+
}
3939
}
4040
}
4141

0 commit comments

Comments
 (0)