0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

refactor(console): remove deprecated table styles (#2991)

This commit is contained in:
Xiao Yijun 2023-01-30 13:16:57 +08:00 committed by GitHub
parent 21e53e1528
commit 2e2b153b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 84 deletions

View file

@ -15,12 +15,6 @@
}
}
tbody {
td {
font: var(--font-body-medium);
}
}
.name {
display: inline-block;
max-width: 100%;

View file

@ -25,6 +25,9 @@
table {
border: none;
border-spacing: 0;
table-layout: fixed;
width: 100%;
}
.headerTable {

View file

@ -15,7 +15,6 @@
td {
max-width: 100%;
@include _.text-ellipsis;
font: var(--font-body-medium);
}
}

View file

@ -15,12 +15,6 @@
}
}
tbody {
td {
font: var(--font-body-medium);
}
}
.name {
display: block;
@include _.text-ellipsis;

View file

@ -20,31 +20,6 @@ input {
outline: none;
}
table {
border: 1px solid var(--color-divider);
border-spacing: 0;
width: 100%;
table-layout: fixed;
thead {
th {
font: var(--font-subhead-2);
color: var(--color-text);
padding: _.unit(3);
border-bottom: 1px solid var(--color-divider);
text-align: left;
}
}
tbody {
td {
font: var(--font-body-medium);
border-bottom: 1px solid var(--color-divider);
padding: _.unit(3);
}
}
}
::-webkit-scrollbar {
width: 16px;
}

View file

@ -1,46 +0,0 @@
@use '@/scss/underscore' as _;
.base {
box-shadow: var(--shadow-1);
}
tr.clickable {
cursor: pointer;
&:hover {
background: var(--color-hover);
}
}
.scrollable {
max-height: 100%;
background-color: var(--color-layer-1);
border-radius: 12px;
overflow-y: auto;
padding-bottom: _.unit(2);
table {
border: none;
box-shadow: none;
thead {
background: var(--color-layer-1);
position: sticky;
top: 0;
}
tbody {
tr {
&:last-child {
td {
border-bottom: unset;
}
}
}
}
}
}
.empty {
height: 100%;
}