mirror of https://github.com/keeweb/keeweb.git
fix #64: list table layout width
This commit is contained in:
parent
58ded8c7a5
commit
7d4c607029
|
@ -131,10 +131,7 @@
|
|||
overflow-x: hidden;
|
||||
padding-top: 3px;
|
||||
|
||||
// workaround for bugs in custom scrollbar component (baron)
|
||||
width: auto !important;
|
||||
min-width: 0 !important;
|
||||
max-width: none !important;
|
||||
@include scrollbar-full-width-hack();
|
||||
@-moz-document url-prefix() { @include scrollbar-padding-hack(); }
|
||||
@at-root { _:-ms-lang(x), .details__body>.scroller { @include scrollbar-padding-hack(); } }
|
||||
}
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
@include flex(1);
|
||||
@include align-self(stretch);
|
||||
position: relative;
|
||||
.app__list-wrap--table & {
|
||||
@include scrollbar-full-width-hack();
|
||||
@-moz-document url-prefix() { @include scrollbar-padding-hack(); }
|
||||
@at-root { _:-ms-lang(x), .app__list-wrap--table .list__items>.scroller { @include scrollbar-padding-hack(); } }
|
||||
}
|
||||
@include mobile { width: 100% !important; }
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +79,7 @@
|
|||
}
|
||||
|
||||
&__table {
|
||||
width: calc(100% - 1px);
|
||||
width: calc(100% - 2px);
|
||||
td, th {
|
||||
padding: $base-padding;
|
||||
text-align: left;
|
||||
|
|
|
@ -6,6 +6,13 @@
|
|||
padding-right: 30px !important;
|
||||
}
|
||||
|
||||
@mixin scrollbar-full-width-hack {
|
||||
// workaround for bugs in custom scrollbar component (baron)
|
||||
width: auto !important;
|
||||
min-width: 0 !important;
|
||||
max-width: none !important;
|
||||
}
|
||||
|
||||
.scroller {
|
||||
overflow-y: scroll;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in New Issue