Skip to content

Commit 05ec53b

Browse files
authored
fix: Set overflow: hidden on main layout; Remove margin adjustment for log-level-select (fixes y-scope#252). (y-scope#326)
1 parent 159ca16 commit 05ec53b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/components/StatusBar/LogLevelSelect/index.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
.log-level-select {
2-
/* JoyUI has a rounding issue when calculating the listbox position, causing it to misjudge if
3-
the listbox will fit on the right side. To mitigate this, we shift the select box 1px to the
4-
left. */
5-
margin-right: 1px;
6-
}
7-
81
.log-level-select-render-value-box {
92
display: flex;
103
gap: 2px;

src/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
html,
22
body,
33
#root {
4+
overflow: hidden;
45
width: 100%;
56
height: 100%;
67
margin: 0;

0 commit comments

Comments
 (0)