Skip to content

Commit

Permalink
Fix affix issue for low height window
Browse files Browse the repository at this point in the history
editor styling bar could disapear on window height < 900px
  • Loading branch information
yeln4ts committed Jun 6, 2023
1 parent 8ba0874 commit 74092e7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lodash": "^4.17.15",
"quasar": "^1.15.4",
"socket.io-client": "^4.4.1",
"vue-affix": "^0.4.0",
"vue-affix": "^0.5.2",
"vue-dragula": "^1.3.1",
"vue-i18n": "^8.25.0",
"vue-lodash": "^2.0.0",
Expand Down
7 changes: 6 additions & 1 deletion frontend/src/components/editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,12 @@ export default {
border-bottom: 1px solid rgba(0,0,0,0.12);
border-right: 1px solid rgba(0,0,0,0.12);
top: 50px!important;
z-index: 1000
z-index: 1000;
position: fixed;
}
.affix-top {
top: unset!important;
}
}
Expand Down

0 comments on commit 74092e7

Please sign in to comment.