File tree Expand file tree Collapse file tree 3 files changed +27
-9
lines changed
ghcjs/delivery-calculator Expand file tree Collapse file tree 3 files changed +27
-9
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ mainWidget st =
21
21
[ style_
22
22
[ (" padding" , " 0" ),
23
23
(" margin" , " 0 auto" ),
24
+ (" max-width" , " 100%" ),
24
25
(" min-height" , " 100vh" ),
25
26
(" display" , " flex" ),
26
27
(" flex-direction" , " column" ),
@@ -32,7 +33,10 @@ mainWidget st =
32
33
<> [ Flex. flexCol main_ id $ screenWidget st
33
34
]
34
35
<> [ footer_
35
- [ style_ [(" text-align" , " center" )]
36
+ [ style_
37
+ [ (" text-align" , " center" ),
38
+ (" margin-bottom" , " 1rem" )
39
+ ]
36
40
]
37
41
$ tosWidget
38
42
: br_ mempty
Original file line number Diff line number Diff line change @@ -244,9 +244,10 @@ viewModel st =
244
244
],
245
245
link_
246
246
[ rel_ " stylesheet" ,
247
- -- href_ "static/css/mvp.css"
247
+ -- href_ "https://unpkg.com/[email protected] /css/nes.min.css"
248
+ href_ " static/css/mvp.css"
248
249
-- href_ "static/css/simple.min.css"
249
- href_ " static/css/tacit-css-1.8.1.min.css"
250
+ -- href_ "static/css/tacit-css-1.8.1.min.css"
250
251
-- href_ "node_modules/@lowlighter/matcha/dist/matcha.css"
251
252
],
252
253
link_
Original file line number Diff line number Diff line change 3
3
}
4
4
5
5
html {
6
- width : 100 vw ;
6
+ width : 100 % ;
7
7
min-height : 100vh ;
8
8
}
9
9
10
- body {
11
- padding : 0 ;
12
- margin : 0 auto;
13
- }
14
-
15
10
html ,
16
11
main {
17
12
margin : 0 ;
18
13
padding : 0 ;
19
14
}
20
15
16
+ body {
17
+ width : 100% ;
18
+ padding : 0 ;
19
+ margin : 0 auto;
20
+ }
21
+
21
22
header ,
22
23
footer {
23
24
margin-left : 0 ;
@@ -26,13 +27,25 @@ footer {
26
27
padding-right : 0 ;
27
28
}
28
29
30
+ nav {
31
+ margin-bottom : 1rem ;
32
+ }
33
+
29
34
textarea {
30
35
resize : vertical;
31
36
pointer-events : auto;
32
37
}
33
38
34
39
dialog {
40
+ width : 100% ;
41
+ height : fit-content;
42
+ max-height : calc (100% - 4rem );
43
+ max-width : min (calc (100% - 4rem ), 640px );
35
44
overflow : auto;
45
+ padding : 1rem ;
46
+ z-index : 9999 ;
47
+ position : initial;
48
+ transform : initial;
36
49
}
37
50
38
51
button {
You can’t perform that action at this time.
0 commit comments