Skip to content

Commit 2286b9d

Browse files
authored
Merge pull request #1330 from McGiverGim/fix_position_osd_preview
Fix OSD preview under low resolutions
2 parents 18bff02 + 903e5d3 commit 2286b9d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/css/tabs/osd.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,10 @@ button {
477477

478478
.tab-osd .preview {
479479
width: 360px;
480-
}
480+
float: left;
481+
position: sticky;
482+
top: 0px;
481483

482-
.tab-osd .preview {
483484
/* please don't copy the generic background image from another project
484485
* and replace the one that @nathantsoi took :)
485486
*/

src/tabs/osd.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h1 class="tab_title">
3333
</div>
3434
<div class="cf_column twothird">
3535

36-
<div class="gui_box grey preview requires-osd-feature" style="float: left; position: fixed;">
36+
<div class="gui_box grey preview requires-osd-feature">
3737

3838
<div class="gui_box_titlebar image">
3939
<div class="spacer_box_title">

0 commit comments

Comments
 (0)