mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
Improve dashboard default scrollbar behavior
- Decrease spacing so that scrollbar doesn't appear on laptop screen when having one row of panel - Move scrollbar to content so that on chromium the scrollbar is not so ugly Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
aa53dedb36
commit
c5ab8fa361
3 changed files with 5 additions and 10 deletions
|
|
@ -440,7 +440,7 @@ export default {
|
|||
text-align: center;
|
||||
font-size: 32px;
|
||||
line-height: 130%;
|
||||
padding: 10vh 16px 0px;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -540,8 +540,7 @@ export default {
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
transition: bottom var(--animation-slow) ease-in-out;
|
||||
bottom: 0;
|
||||
padding: 44px 0;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.edit-panels {
|
||||
|
|
@ -684,9 +683,6 @@ export default {
|
|||
</style>
|
||||
<style>
|
||||
html, body {
|
||||
overflow: auto;
|
||||
position: static;
|
||||
height: auto;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
|
|
@ -695,7 +691,6 @@ html, body {
|
|||
}
|
||||
|
||||
#content {
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
position: static !important;;
|
||||
}
|
||||
|
|
|
|||
4
dist/dashboard-main.js
vendored
4
dist/dashboard-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/dashboard-main.js.map
vendored
2
dist/dashboard-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue