Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: right side bar cut off #11842

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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