Skip to content

Commit

Permalink
Fix #6696
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Apr 1, 2022
1 parent 9188809 commit 295f2be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-unsticky-appbar-position
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Unsticky appbar position

After recent changes to the files appbar, it wouldn't be visible when scrolling inside the table. This has been resolved.

https://github.com/owncloud/web/pull/6705
https://github.com/owncloud/web/issues/6696
4 changes: 3 additions & 1 deletion packages/web-app-files/src/components/AppBar/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@ export default {
<style lang="scss" scoped>
#files-app-bar {
background-color: var(--oc-color-background-default);
border-top-right-radius: 15px;
box-sizing: border-box;
z-index: 2;
position: sticky;
padding: 0 var(--oc-space-medium);
border-top-right-radius: 15px;
top: 0;
.files-app-bar-actions {
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
}
},
computed: {
...mapState(['sidebar', 'navigation']),
...mapState(['navigation']),
toggleSidebarButtonClass() {
return this.navigation.closed
Expand Down

0 comments on commit 295f2be

Please sign in to comment.