Revert some scrollbar, sidebar and list width changes.

Thanks to xet7 !

Fixes #5585,
fixes https://github.com/wekan/wekan/pull/5583
This commit is contained in:
Lauri Ojansivu 2024-11-20 21:08:06 +02:00
parent 12d22f92b2
commit 096fe130f6
11 changed files with 45 additions and 34 deletions

View file

@ -3,13 +3,16 @@
top: 0;
bottom: 0;
right: 0;
overflow-y: scroll;
scrollbar-width: none;
}
.sidebar .sidebar-shadow {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
background: #f7f7f7;
box-shadow: -10px 0px 5px -10px #b3b3b3;
height: 100%;
z-index: 10;
}
.sidebar-xmark {
position: absolute;
@ -21,16 +24,17 @@
.sidebar-xmark:hover {
background: rgba(0,0,0,0.15);
}
.sidebar-actions {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 10px 10px 0px 10px;
}
.sidebar .sidebar-content {
padding: 0 12px;
padding: 12px;
margin-bottom: 1.6em;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
width: 90%;
}
.sidebar .sidebar-content .hide-btn {
display: none;
@ -106,19 +110,21 @@
margin-right: 10px;
}
.sidebar .sidebar-shortcuts {
position: absolute;
margin-left: 40%;
padding: 0;
top: 7px;
font-size: 0.8em;
line-height: 1.6em;
color: #999;
}
.board-sidebar {
display: none;
width: 30vw;
z-index: 100;
width: 548px;
right: -548px;
transition: top 0.1s, right 0.1s, width 0.1s;
}
.board-sidebar.is-open {
display: block;
right: 0;
}
.board-widget h4 {
margin: 5px 0;