feat: voice note and collapsible form CSS

This commit is contained in:
Lewis Wynne 2026-04-10 02:22:25 +01:00
parent 54764935c2
commit 68080a1455

View file

@ -15,7 +15,10 @@
.guestbook-textarea {
box-sizing: border-box;
}
.guestbook-button {}
.guestbook-button {
display: block;
margin-top: 1em;
}
/* Drawings */
.guestbook-canvas {
@ -29,6 +32,9 @@
.guestbook-canvas-tools a {
cursor: pointer;
}
.guestbook-drawing-inline a {
cursor: pointer;
}
.guestbook-swatch {
display: inline-block;
width: 0.85em;
@ -51,6 +57,26 @@
max-width: 100%;
}
/* Voice notes */
.guestbook-voice-record.recording {
color: red;
}
.guestbook-voice-timer {
font-variant-numeric: tabular-nums;
}
.guestbook-voice-playback:empty {
display: none;
}
.guestbook-voice-playback {
display: block;
white-space: normal;
}
audio {
display: block;
margin-top: 0.6em;
height: 2em;
}
/* Entries */
.entry-header {}
.entry-date {}