Skip to content

Commit

Permalink
fix: right side bar cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Stehle committed Oct 31, 2024
1 parent 07de250 commit f05185d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-right-side-bar-cut-off
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Right side bar cut off

We've fixed a bug where the right sidebar would cut off at a browser width >960px and <1024px.

https://github.com/owncloud/web/issues/11830
https://github.com/owncloud/web/pull/11842
4 changes: 2 additions & 2 deletions packages/web-pkg/src/components/SideBar/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default defineComponent({
return $gettext('Back to main panels')
})
const fullWidthSideBar = computed(() => window.innerWidth <= 960)
const fullWidthSideBar = computed(() => window.innerWidth <= 1024)
const backgroundContentEl = computed(() => {
return unref(appSideBar)?.parentElement?.querySelector('div') as HTMLElement
})
Expand Down Expand Up @@ -291,7 +291,7 @@ export default defineComponent({
width: 100% !important;
}
@media only screen and (max-width: 960px) {
@media only screen and (max-width: 1024px) {
.files-wrapper {
flex-wrap: nowrap !important;
}
Expand Down

0 comments on commit f05185d

Please sign in to comment.