increase width of custom-css setting

This commit is contained in:
mat 2024-06-29 04:27:50 -05:00
parent 6da140f34b
commit f82e4f8870
2 changed files with 5 additions and 1 deletions

View File

@ -145,6 +145,10 @@ h1 {
} }
#custom-css { #custom-css {
tab-size: 2; tab-size: 2;
width: calc(100% - 0.5rem);
height: 20rem;
border: 0;
outline: 1px solid var(--bg-4);
} }
/* header */ /* header */

View File

@ -39,7 +39,7 @@ pub async fn get(
// custom css textarea // custom css textarea
details #custom-css-details { details #custom-css-details {
summary { "Custom CSS" } summary { "Custom CSS" }
textarea name="stylesheet-str" id="custom-css" rows="10" cols="50" { textarea #custom-css name="stylesheet-str" {
{ (config.ui.stylesheet_str) } { (config.ui.stylesheet_str) }
} }
} }