Skip to content

Commit 4223845

Browse files
committed
eliminate redundant css
1 parent 7409c75 commit 4223845

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

ghcjs/currency-converter/src/App/Widgets/Menu.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,6 @@ menu st =
187187
& Select.setLabel
188188
( Just "Exchange rates"
189189
)
190-
& Select.setAttributes
191-
[ class_ "fill-inner"
192-
]
193190
& Select.setSelected
194191
( Just
195192
$ st

ghcjs/currency-converter/static/app.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ textarea {
2020
min-height: 72px;
2121
}
2222

23-
.fill-inner > div {
23+
.mdc-select__anchor {
2424
width: 100%;
2525
min-width: 100%;
2626
}
@@ -33,10 +33,6 @@ textarea {
3333
height: 56px;
3434
}
3535

36-
.micro-margin-left {
37-
margin-left: 6px;
38-
}
39-
4036
@media print {
4137
body {
4238
color-adjust: exact !important;

ghcjs/miso-widgets/src/Functora/Miso/Widgets/Field.hs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,6 @@ fieldModal args (ModalFieldWidget opt idx access sod) = do
511511
& Select.setLabel
512512
( Just "Type"
513513
)
514-
& Select.setAttributes
515-
[ class_ "fill-inner"
516-
]
517514
& Select.setSelected
518515
( args
519516
^? #argsModel
@@ -641,9 +638,6 @@ selectTypeWidget args@Args {argsAction = action} optic =
641638
& Select.setLabel
642639
( Just "Type"
643640
)
644-
& Select.setAttributes
645-
[ class_ "fill-inner"
646-
]
647641
& Select.setSelected
648642
( args
649643
^? #argsModel

0 commit comments

Comments
 (0)