Panel: a long section name wraps left-aligned in the side rail instead of centring
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
30a004b93b
commit
86eacd173e
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
||||||
.btp-nav { display: flex; gap: 2px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line-soft); background: var(--c-chrome); }
|
.btp-nav { display: flex; gap: 2px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line-soft); background: var(--c-chrome); }
|
||||||
.btp-nav::-webkit-scrollbar { display: none; }
|
.btp-nav::-webkit-scrollbar { display: none; }
|
||||||
.btp-nav button { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); font-weight: 520; cursor: pointer; transition: color .15s, background-color .15s; }
|
.btp-nav button { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); font-weight: 520; cursor: pointer; transition: color .15s, background-color .15s; }
|
||||||
.btp-nav button svg { opacity: .8; }
|
.btp-nav button svg { flex: none; opacity: .8; }
|
||||||
.btp-nav button:hover { color: var(--c-text); background: var(--c-field); }
|
.btp-nav button:hover { color: var(--c-text); background: var(--c-field); }
|
||||||
.btp-nav button.is-on { color: var(--c-text); background: var(--c-raise); }
|
.btp-nav button.is-on { color: var(--c-text); background: var(--c-raise); }
|
||||||
.btp-nav button.is-on svg { color: var(--c-accent); opacity: 1; }
|
.btp-nav button.is-on svg { color: var(--c-accent); opacity: 1; }
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
.btp { grid-template-columns: 196px 1fr; grid-template-rows: auto 1fr; }
|
.btp { grid-template-columns: 196px 1fr; grid-template-rows: auto 1fr; }
|
||||||
.btp-head { grid-column: 1 / -1; padding: 12px 20px; }
|
.btp-head { grid-column: 1 / -1; padding: 12px 20px; }
|
||||||
.btp-nav { flex-direction: column; gap: 1px; padding: 14px 10px; border-bottom: 0; border-inline-end: 1px solid var(--c-line-soft); overflow: visible; }
|
.btp-nav { flex-direction: column; gap: 1px; padding: 14px 10px; border-bottom: 0; border-inline-end: 1px solid var(--c-line-soft); overflow: visible; }
|
||||||
.btp-nav button { height: 32px; padding: 0 10px; }
|
.btp-nav button { height: auto; min-height: 32px; padding: 6px 10px; text-align: start; line-height: 1.25; }
|
||||||
.btp-nav button.is-on::before { content: ''; position: absolute; inset-inline-start: -10px; top: 8px; bottom: 8px; width: 2px; border-start-start-radius: 0; border-start-end-radius: 2px; border-end-end-radius: 2px; border-end-start-radius: 0; background: var(--c-accent); }
|
.btp-nav button.is-on::before { content: ''; position: absolute; inset-inline-start: -10px; top: 8px; bottom: 8px; width: 2px; border-start-start-radius: 0; border-start-end-radius: 2px; border-end-end-radius: 2px; border-end-start-radius: 0; background: var(--c-accent); }
|
||||||
.btp-page { padding: 26px 32px 72px; }
|
.btp-page { padding: 26px 32px 72px; }
|
||||||
.btp-title { font-size: 22px; margin-bottom: 18px; }
|
.btp-title { font-size: 22px; margin-bottom: 18px; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue