File tree Expand file tree Collapse file tree 2 files changed +25
-35
lines changed
frontends/web/src/components/guide Expand file tree Collapse file tree 2 files changed +25
-35
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,12 @@ export const Entry = (props: TProps) => {
4747 return (
4848 < div className = { style . entry } >
4949 < div className = { style . entryTitle } onClick = { toggle } >
50- < div className = { style . entryToggle } > { shown ? '–' : '+' } </ div >
51- < div className = { style . entryTitleText } >
52- < h2 > { entry . title } </ h2 >
50+ < div className = { style . entryToggle } >
51+ { shown ? '–' : '+' }
5352 </ div >
53+ < h3 className = { style . entryTitleText } >
54+ { entry . title }
55+ </ h3 >
5456 </ div >
5557 < div className = { [ style . entryContent , shown ? style . expanded : '' ] . join ( ' ' ) } >
5658 { shown ? (
Original file line number Diff line number Diff line change 1212
1313.close {
1414 display : flex;
15- height : 24px ;
15+ height : 2.4rem ;
16+ margin-left : var (--space-eight );
17+ min-height : 0 ;
1618 padding : 4px ;
17- width : 24 px ;
19+ width : 2.4 rem ;
1820}
1921
2022.close img {
21- height : 20px ;
22- margin-left : calc (var (--space-quarter ) / 2 );
23- width : 20px ;
23+ height : min (2rem , 36px );
24+ width : min (2rem , 36px );
2425}
2526
2627.wrapper {
6162 margin : 0 ;
6263}
6364
64- .header a {
65- cursor : pointer;
66- font-size : 2rem ;
67- }
68-
6965.content {
7066 display : flex;
7167 flex-direction : column;
7470 padding-bottom : env (safe-area-inset-bottom, 0 );
7571}
7672
77- .content h1 {
78- font-size : 1.5em ;
79- margin-top : 0px ;
80- }
81-
82- .content h2 {
83- font-size : var (--size-subheader );
84- font-weight : 400 ;
85- margin : 0 ;
86- }
87-
8873.guide p {
8974 font-size : var (--size-default );
9075 margin : 0.4em 0 ;
9479 margin-right : 0 ;
9580}
9681
97- .entry {
98- margin-top : var (--space-default );
99- }
100-
10182.appendix {
10283 padding-top : var (--space-half );
10384 margin-top : auto;
10485}
10586
87+ .entry {
88+ margin-top : var (--space-default );
89+ }
90+
10691.entryTitle {
10792 align-items : flex-start;
10893 cursor : default;
10994 display : flex;
11095 flex-direction : row;
96+ font-size : var (--size-subheader );
11197 justify-content : flex-start;
11298}
11399
114- .entryTitle . entryToggle {
100+ .entryToggle {
115101 align-items : center;
116102 display : flex;
117- font-size : var (--size-subheader );
118- flex-direction : row;
119103 font-weight : bold;
104+ flex-direction : row;
120105 justify-content : flex-start;
121- line-height : 1.2 em ;
122- width : 16 px ;
106+ line-height : 1.2 ;
107+ width : 1.4 rem ;
123108}
124109
125- .entryTitle . entryTitleText {
110+ .entryTitleText {
126111 flex : 1 ;
112+ font-size : var (--size-subheader );
113+ font-weight : 400 ;
114+ margin : 0 ;
127115}
128116
129117.entryContent {
130118 align-items : flex-start;
131119 display : flex;
132120 flex-direction : row;
133121 justify-content : flex-start;
134- padding-left : 16 px ;
122+ padding-left : 1.4 rem ;
135123}
136124
137125.expanded {
You can’t perform that action at this time.
0 commit comments