Skip to content

Commit 95aa423

Browse files
committed
Polish pass.
1 parent 597855c commit 95aa423

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/css/tabs/osd.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@
362362
font-weight: normal;
363363
}
364364
}
365+
#font-logo {
366+
display: flex;
367+
margin-bottom: 2em;
368+
}
365369
#font-logo-preview-container {
366370
background: rgba(0, 255, 0, 0.4);
367371
margin-bottom: 10px;
@@ -373,6 +377,8 @@
373377
margin: auto;
374378
}
375379
#font-logo-info {
380+
flex: 1;
381+
margin-left: 2em;
376382
line-height: 150%;
377383
h3 {
378384
margin-bottom: 0.2em;

src/js/utils/initializeModalDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { i18n } from "../localization";
1111
function getDialogTitleBar(messageId, messageParameters, onClose) {
1212
// HTML structure
1313
const dialogTitleBar = $(`
14-
<div class="jBox-title" style="display: flex; height: 47px">
14+
<div style="display: flex; height: 47px; background: var(--surface-300); border-bottom: 1px solid var(--surface-950);">
1515
<div style="flex: 1; display: flex; align-items: center;">
1616
<div style="padding: 15px;">${i18n.getMessage(messageId, messageParameters || undefined)}</div>
1717
</div>

src/tabs/osd.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,12 @@ <h1 class="tab_title" i18n="osdSetupFontPresets"></h1>
168168
</div>
169169
<!-- Boot logo setup -->
170170
<h1 class="tab_title" i18n="osdSetupCustomLogoTitle"></h1>
171-
<div style="display: flex; margin-bottom: 2em;">
171+
<div id="font-logo">
172172
<div id="font-logo-preview-container">
173173
<div id="font-logo-preview">
174174
<!-- this will be resized at runtime -->
175175
</div>
176176
</div>
177-
<div style="flex: 1"></div>
178177
<div id="font-logo-info">
179178
<h3 i18n="osdSetupCustomLogoInfoTitle"></h3>
180179
<ul>

0 commit comments

Comments
 (0)