Skip to content

Commit 1ac5867

Browse files
committed
These are textareas now
1 parent 80a0eb3 commit 1ac5867

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

app/assets/stylesheets/lexxy.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,21 @@
237237
}
238238
}
239239

240+
.attachment__caption {
241+
textarea {
242+
background-color: var(--input-background, transparent);
243+
border-radius: var(--input-border-radius, 0.5em);
244+
border: var(--input-border-size, 1px) solid var(--input-border-color, var(--color-ink-medium));
245+
color: var(--input-color, var(--color-ink));
246+
font-size: max(16px, 1em);
247+
inline-size: 100%;
248+
line-height: inherit;
249+
max-inline-size: 100%;
250+
padding: var(--input-padding, 0.5em 0.8em);
251+
resize: none;
252+
}
253+
}
254+
240255
/* Based on .input, .input--select */
241256
.lexxy-code-language-picker {
242257
-webkit-appearance: none;

app/assets/stylesheets/rich-text-content.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
color: color-mix(in oklch, var(--color-ink) 66%, transparent);
206206
font-size: var(--text-small);
207207

208-
.input {
208+
textarea {
209209
--input-border-radius: 0.3em;
210210
--input-border-size: 0;
211211
--input-padding: 0;

0 commit comments

Comments
 (0)