Skip to content

Commit 4ca7e85

Browse files
committed
fix toolbar showing scroll on disabling autohide
1 parent 7ccc704 commit 4ca7e85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gui/src/UI/UIDesktop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ async function UIDesktop(options) {
11431143
style= 'height:30px; min-height:30px; max-height:30px;';
11441144
}
11451145

1146-
ht += `<div class="toolbar ${class_name}" style="${style}">`;
1146+
ht += `<div class="toolbar hide-scrollbar ${class_name}" style="${style}">`;
11471147
// logo
11481148
ht += `<div class="toolbar-btn toolbar-puter-logo" title="Puter" style="margin-left: 10px;"><img src="${window.icons['logo-white.svg']}" draggable="false" style="display:block; width:17px; height:17px"></div>`;
11491149

src/gui/src/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ label {
17761776
overflow: clip;
17771777
box-shadow: rgb(255 255 255 / 14%) 0px 0px 0px 0.5px inset, rgba(0, 0, 0, 0.2) 0px 0px 0px 0.5px, rgba(0, 0, 0, 0.2) 0px 2px 14px;
17781778
position: absolute;
1779-
1779+
overflow-y: hidden;
17801780
}
17811781

17821782
.toolbar-hidden {

0 commit comments

Comments
 (0)