File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99 & __page {
1010 overflow : auto ;
11+
12+ & -sections {
13+ margin : 20px ;
14+ display : flex ;
15+ flex-direction : column ;
16+ gap : 20px ;
17+ & :last-of-type ~ hr {
18+ display : none ;
19+ }
20+ }
21+
22+ & -section {
23+ h1 {
24+ margin : 0 ;
25+ font-size : 18px ;
26+ }
27+
28+ & __value {
29+ width : 100% ;
30+ }
31+ }
1132 }
1233}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import AppSideBar from "../../components/AppSideBar";
22import { getPages } from "./settingsPageConfig" ;
33
44import "./Settings.scss" ;
5- import { HTMLInputTypeAttribute , useRef , useState } from "react" ;
5+ import { HTMLInputTypeAttribute , useState } from "react" ;
66import useSystemSettings from "../../stores/systemSettingsStore" ;
77
88interface SettingsSectionProps {
@@ -28,9 +28,12 @@ function SettingsSection(section: SettingsSectionProps) {
2828 }
2929 return (
3030 < div className = "settings__page-section" >
31- < h1 > { section . title } </ h1 >
32- < p > { section . description } </ p >
31+ < h1 className = "settings__page-section__title" > { section . title } </ h1 >
32+ < p className = "settings__page-section__description" >
33+ { section . description }
34+ </ p >
3335 < input
36+ className = "settings__page-section__value"
3437 type = { getInputType ( section . type ) }
3538 value = { String ( section . currentValue ) }
3639 onChange = { ( e ) => {
You can’t perform that action at this time.
0 commit comments