~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.17.0 Latest 2 packages, 1 image

1
10

Keep a diff file's menu beside a long path

Merged chadtmiller.com asked to merge into main from chadtmiller.com/knotless:web/file-header-menu
web/src/app.css+11−1
@@ -2915,9 +2915,9 @@ a.row:hover {
.file > summary:has(.action-menu[open]) {
z-index: var(--z-menu);
}
/* One line wide: a long path wraps within itself, its tag, counts and menu beside it. */
.file > summary {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-1-5) var(--space-3);
padding: var(--row-y) var(--pad-x);
@@ -2931,6 +2931,7 @@ a.row:hover {
display: none;
}
.file > summary::before {
flex: none;
content: '';
width: 6px;
height: 6px;
@@ -2951,6 +2952,11 @@ a.row:hover {
overflow-wrap: anywhere;
min-width: 0;
}
.file .tag,
.file .stat,
.file .file-tools {
flex: none;
}
.file .stat {
font: var(--text-xs) var(--font-mono);
display: flex;
@@ -7446,6 +7452,10 @@ textarea.field {
background: var(--scrim);
cursor: default;
}
/* A phone's path takes the line, its counts and menu the next. */
.file > summary {
flex-wrap: wrap;
}
.file .stat {
margin-left: 0;
}