mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-28 18:38:24 -05:00
fix: textarea autosize for LanguageTool
This commit is contained in:
committed by
konrad
parent
bc5fd380e5
commit
7ef1e0a3e5
@@ -23,6 +23,15 @@
|
||||
--body-overflow-y: auto;
|
||||
}
|
||||
|
||||
// The LanguageTool browser plugin creates a custom element with shadow root for textareas.
|
||||
// Since shadow root doesn't inherit styles, we have to set `box-sizing` to `border-box` instead of `inherit`.
|
||||
// https://dev.to/konnorrogers/revisiting-box-sizing-best-practices-3del
|
||||
*,
|
||||
*::after,
|
||||
*::before {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--site-background);
|
||||
min-height: 100vh;
|
||||
|
||||
Reference in New Issue
Block a user