Skip to content

Commit

Permalink
Fix developerMode layout (#322)
Browse files Browse the repository at this point in the history
- Fix scroll content overflow
- Remove li spacing in the developer menu
  • Loading branch information
camillobruni authored Oct 5, 2023
1 parent 44c8093 commit b77b3db
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions resources/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
--highlight: rgb(232, 79, 79);
--text-width: 650px;
--metrics-line-height: 25px;
--scrollbar-width: 10px;
}

body {
Expand All @@ -31,8 +32,8 @@ body {
::-webkit-scrollbar-track {
background-color: var(--inactive-color);
border-radius: 8px;
width: 10px;
height: 10px;
width: var(--scrollbar-width);
height: var(--scrollbar-width);
}
::-webkit-scrollbar-thumb {
background-color: var(--foreground);
Expand Down Expand Up @@ -208,7 +209,6 @@ button,

.developer-mode {
border-radius: 10px;
max-height: 80vh;
padding: 1rem;
background: #602525;
border: 3px solid rgba(255, 255, 255, 0.5);
Expand All @@ -230,6 +230,8 @@ button,
flex: 1;
max-height: 80vh;
overflow: auto;
margin-right: calc(0px - var(--scrollbar-width));
padding-right: var(--scrollbar-width);
}

.developer-mode-content ol {
Expand All @@ -243,6 +245,10 @@ button,
gap: 3px;
}

.developer-mode-content li + li {
margin-top: 0px;
}

.developer-mode-content button {
background: white;
flex: auto;
Expand Down

0 comments on commit b77b3db

Please sign in to comment.