fix: textarea autosize for LanguageTool
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user