Skip to content

Commit

Permalink
Merge pull request #19308 from guerler/fix_winbox_style
Browse files Browse the repository at this point in the history
[24.2] Fixes window manager scrolling and resizing
  • Loading branch information
martenson authored Jan 22, 2025
2 parents 3baafc2 + 8bc465e commit d1ea6dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Masthead/Masthead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ onMounted(() => {
position: absolute;
left: 1.6rem;
top: 1.6rem;
font-size: 0.4rem;
font-size: 0.6rem;
font-weight: bold;
}
}
Expand Down
14 changes: 12 additions & 2 deletions client/src/style/scss/windows.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
.winbox {
border-radius: $border-radius-base;
margin-top: 3rem;
margin-left: 1px;
margin-top: calc($masthead-height + 1px);
}

.winbox.max {
border-radius: 0;
margin: 0;
.wb-header {
border-radius: 0;
}
}

.winbox.min {
@extend .m-0;
}

.wb-header {
border-radius: $border-radius-base;
background: $brand-info;
border-top-left-radius: $border-radius-base;
border-top-right-radius: $border-radius-base;
}

.wb-icon * {
Expand Down

0 comments on commit d1ea6dd

Please sign in to comment.