10000 Fix titlebar size for tool windows in Enlarge UI mode · 1j01/jspaint@a2691ec · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Fix titlebar size for tool windows in Enlarge UI mode
Browse files Browse the repository at this point in the history
  • Loading branch information
1j01 committed Oct 28, 2024
1 parent 9ce1f61 commit a2691ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,15 @@ html, body, .jspaint {
bottom: 12px;
}

.enlarge-ui .os-window .window-titlebar {
/* more specific .tool-window selectors are needed to override titlebar height currently defined in classic.css */
.enlarge-ui .os-window .window-titlebar,
.enlarge-ui .os-window.tool-window .window-titlebar {
font-size: 2rem;
line-height: 1.2;
height: 2.8rem;
}
.enlarge-ui .os-window .window-title-area {
.enlarge-ui .os-window .window-title-area,
.enlarge-ui .os-window.tool-window .window-title-area {
height: 100%;
}
.enlarge-ui .os-window .window-titlebar button {
Expand Down
7 changes: 5 additions & 2 deletions styles/layout.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,15 @@ html, body, .jspaint {
bottom: 12px;
}

.enlarge-ui .os-window .window-titlebar {
/* more specific .tool-window selectors are needed to override titlebar height currently defined in classic.css */
.enlarge-ui .os-window .window-titlebar,
.enlarge-ui .os-window.tool-window .window-titlebar {
font-size: 2rem;
line-height: 1.2;
height: 2.8rem;
}
.enlarge-ui .os-window .window-title-area {
.enlarge-ui .os-window .window-title-area,
.enlarge-ui .os-window.tool-window .window-title-area {
hei 4584 ght: 100%;
}
.enlarge-ui .os-window .window-titlebar button {
Expand Down

0 comments on commit a2691ec

Please sign in to comment.
0