Skip to content

Commit a2691ec

Browse files
committed
Fix titlebar size for tool windows in Enlarge UI mode
1 parent 9ce1f61 commit a2691ec

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

styles/layout.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,15 @@ html, body, .jspaint {
230230
bottom: 12px;
231231
}
232232

233-
.enlarge-ui .os-window .window-titlebar {
233+
/* more specific .tool-window selectors are needed to override titlebar height currently defined in classic.css */
234+
.enlarge-ui .os-window .window-titlebar,
235+
.enlarge-ui .os-window.tool-window .window-titlebar {
234236
font-size: 2rem;
235237
line-height: 1.2;
236238
height: 2.8rem;
237239
}
238-
.enlarge-ui .os-window .window-title-area {
240+
.enlarge-ui .os-window .window-title-area,
241+
.enlarge-ui .os-window.tool-window .window-title-area {
239242
height: 100%;
240243
}
241244
.enlarge-ui .os-window .window-titlebar button {

styles/layout.rtl.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,15 @@ html, body, .jspaint {
230230
bottom: 12px;
231231
}
232232

233-
.enlarge-ui .os-window .window-titlebar {
233+
/* more specific .tool-window selectors are needed to override titlebar height currently defined in classic.css */
234+
.enlarge-ui .os-window .window-titlebar,
235+
.enlarge-ui .os-window.tool-window .window-titlebar {
234236
font-size: 2rem;
235237
line-height: 1.2;
236238
height: 2.8rem;
237239
}
238-
.enlarge-ui .os-window .window-title-area {
240+
.enlarge-ui .os-window .window-title-area,
241+
.enlarge-ui .os-window.tool-window .window-title-area {
239242
height: 100%;
240243
}
241244
.enlarge-ui .os-window .window-titlebar button {

0 commit comments

Comments
 (0)