mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-08 02:15:12 -06: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user