mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-20 06:40:51 +00:00
style: switch row borders instantly when a row opens
Table cells faded their border color over 180ms, so opening a row left the old divider visible between the row and its newly shown content before it faded out. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0551570da8
commit
fdd49249d1
1 changed files with 2 additions and 6 deletions
|
|
@ -888,9 +888,7 @@ kbd {
|
|||
padding-bottom: 1rem;
|
||||
vertical-align: middle;
|
||||
border-bottom: 1px solid var(--line);
|
||||
transition:
|
||||
background-color 150ms ease-out,
|
||||
border-color 180ms ease;
|
||||
transition: background-color 150ms ease-out;
|
||||
}
|
||||
|
||||
.table tbody tr[hidden] {
|
||||
|
|
@ -1121,9 +1119,7 @@ th[data-sort].sort-asc::after {
|
|||
line-height: 1.6;
|
||||
text-wrap: pretty;
|
||||
overflow-wrap: break-word;
|
||||
transition:
|
||||
background-color 150ms ease-out,
|
||||
border-color 180ms ease;
|
||||
transition: background-color 150ms ease-out;
|
||||
}
|
||||
|
||||
.row:not(.open) + .desc-row td {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue