Fix row colors not working properly

This commit is contained in:
Melon 2023-10-30 00:06:10 +00:00
parent 804f88f098
commit fcc6589043
Signed by: melon
GPG Key ID: 6C9D970C50D26A25
5 changed files with 32 additions and 10 deletions

View File

@ -30,6 +30,14 @@
</tr>
<style lang="scss">
tr:nth-child(2n) {
background-color: #2a2a2a;
}
tr:nth-child(2n + 1) {
background-color: #242424;
}
tr.created {
position: sticky;
top: 0;

View File

@ -41,6 +41,14 @@
{/if}
<style lang="scss">
tr:nth-child(2n) {
background-color: #2a2a2a;
}
tr:nth-child(2n + 1) {
background-color: #242424;
}
tr.created {
background-color: #1a5100;

View File

@ -28,6 +28,14 @@
</tr>
<style lang="scss">
tr:nth-child(2n) {
background-color: #2a2a2a;
}
tr:nth-child(2n + 1) {
background-color: #242424;
}
tr.created {
position: sticky;
top: 0;

View File

@ -38,6 +38,14 @@
{/if}
<style lang="scss">
tr:nth-child(2n) {
background-color: #2a2a2a;
}
tr:nth-child(2n + 1) {
background-color: #242424;
}
tr.created {
background-color: #1a5100;

View File

@ -259,16 +259,6 @@
}
}
tbody :global(tr) {
&:nth-child(2n) {
background-color: #2a2a2a;
}
&:nth-child(2n + 1) {
background-color: #242424;
}
}
:global(th),
:global(td) {
padding: 11px 8px 11px 8px;