In Charcoal the note-list day separators used --ground, the darkest colour
in the theme, so they read as dark bars on the lighter list. They take the
menu's own resting grey (#2d3133) now — the colour "Projekter" sits on —
via a --note-group-bg fallback token, so every other theme keeps --ground.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
On a phone the list/editor switch keyed on the loaded note, which arrives a
moment after the tap — so the first tap looked like nothing happened and
people tapped again. It keys on the selected id now, set the instant a row
is tapped, so the pane switches at once; the back button is there
immediately and the body fills in when it arrives, with a quiet pane rather
than the "pick a note" prompt in the half-second between.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
On a phone the note list and the editor stacked in one column, so a tapped
note opened below a full-height list, out of sight — "kan vælge en note men
kan ikke se indholdet". Now it is master-detail: the list fills the screen
until a note is opened, the editor takes over once one is, and an iOS-style
"‹ Noter" at the top of the editor goes back. The cards drop their border
and corners on one column, where there is nothing beside them.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
<!-- Chosen, but its full text is still loading. Keep the pane (so the tap
felt like it landed) and stay quiet — the "pick a note" line is for
when nothing is chosen at all, not for this half-second. -->
<pclass="empty"aria-busy="true"></p>
{/if}
{:else}
<pclass="empty">{t('notes.pickOne')}</p>
{/if}
@@ -1389,7 +1406,10 @@
top:0;
z-index:1;
margin:00var(--s1);
background:var(--ground);
/* --ground everywhere but Kul, where the ground is the darkest thing on screen
and a day separator on it reads as a dark bar. There it takes the menu's own
resting colour instead, via --note-group-bg. */
background:var(--note-group-bg,var(--ground));
border-radius:var(--radius);
}
@@ -1911,14 +1931,48 @@
font-size:var(--text-sm);
}
/* The way back to the list on a phone — an iOS-style "‹ Noter" at the top of the
editor. Hidden on a wide screen, where the list is always beside the editor. */
.back{
display:none;
align-self:flex-start;
align-items:center;
gap:var(--s1);
margin-bottom:var(--s2);
padding:var(--s1)0;
font-size:var(--text-base);
color:var(--accent);
}
@media(max-width:700px){
.notes{
grid-template-columns:1fr;
padding:0;
gap:0;
}
aside{
border-right:0;
padding-right:0;
/* One pane at a time. The two-column card layout has no room on a phone, so
the list shows until a note is opened and the editor takes over once one is
— the back button is the way between them. Without this the editor stacked
below a full-height list, so a tapped note opened out of sight. */
.notes.has-noteaside{
display:none;
}
.notes:not(.has-note).editor{
display:none;
}
/* Full-bleed: the card border and rounded corners are for sitting beside
another card, and on one column there is nothing beside it. */
aside,
.editor{
border:0;
border-radius:0;
}
.back{
display:inline-flex;
}
}
</style>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.