fix: show scrollbar only if there is overflow (chromium desktop)

This commit is contained in:
2025-12-24 13:48:45 -03:00
parent 0f0fa78caa
commit 24a9ad7b5f

View File

@@ -1,29 +1,24 @@
: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 {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
& thead {
background-color: var(--primary);
color: white;
text-transform: uppercase;
& th {
padding: 1rem 0;
}
}
& tbody td { & thead {
padding: .5rem; background-color: var(--primary);
&:nth-child(4) { color: white;
text-align: center; text-transform: uppercase;
} & th {
padding: 1rem 0;
} }
}
}
& tbody td {
padding: 0.5rem;
&:nth-child(4) {
text-align: center;
}
}
}