fix: show scrollbar only if there is overflow (chromium desktop)
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
:host {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
div:first-of-type {
|
div:first-of-type {
|
||||||
overflow: scroll;
|
overflow-x: auto;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
.contact-list {
|
.contact-list {
|
||||||
@@ -16,14 +13,12 @@ div:first-of-type {
|
|||||||
& th {
|
& th {
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
& tbody td {
|
& tbody td {
|
||||||
padding: .5rem;
|
padding: 0.5rem;
|
||||||
&:nth-child(4) {
|
&:nth-child(4) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user