textmachine/frontend/src/showcase/Document.module.css

24 lines
670 B
CSS

.document {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
}
/* The draft mark stands ABOVE the scroll container, not inside it: it is about the whole chapter,
not about the first block, and must not travel up on scroll. Soft by the prompt §3.8 — a message,
not a failure: a muted tone, an icon instead of an exclamation, the detail in the tooltip. */
.draft {
display: flex;
gap: var(--space-2);
align-items: center;
flex: none;
padding: var(--space-2) var(--space-4) var(--space-3);
color: var(--color-text-secondary);
font-size: var(--font-size-small);
}
.draftMark {
flex: none;
color: var(--color-text-muted);
}