Skip to content

Commit

Permalink
fix layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif Battermann committed Nov 25, 2021
1 parent 194874b commit 3ea5995
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ rangeInputView model position result dropdownState ranges =
(validationFeedbackOutlineRange (Form.numberOfCombos position model.form) field
++ [ Input.value field.value
, Input.onInput (RangeInput position)
, Input.attrs [ Html.Attributes.class "round-corners" ]
]
)
)
Expand Down Expand Up @@ -328,7 +329,7 @@ rangeInputView model position result dropdownState ranges =
, Button.onClick (ShowRangeSelectionModal position)
, Button.attrs ([ Html.Attributes.tabindex -1, Html.Attributes.type_ "button" ] ++ Popover.onHover popoverStates.openGrid (PopoverStateOpenGrid position))
]
[ Html.img [ Html.Attributes.src "images/apps_black_24dp.svg", Html.Attributes.height 22 ] [] ]
[ Html.img [ Html.Attributes.src "images/apps_black_24dp.svg", Html.Attributes.height 18 ] [] ]
)
|> Popover.top
|> Popover.content []
Expand All @@ -344,7 +345,7 @@ rangeInputView model position result dropdownState ranges =
, Button.disabled (Form.rewritable field |> not)
, Button.attrs [ Html.Attributes.tabindex -1 ]
]
[ Html.img [ Html.Attributes.src "images/auto_fix_high_black_24dp.svg", Html.Attributes.height 20 ] [] ]
[ Html.img [ Html.Attributes.src "images/auto_fix_high_black_24dp.svg", Html.Attributes.height 18 ] [] ]
]
)
|> Popover.top
Expand Down
4 changes: 4 additions & 0 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ i {
color : #555555;
}

.round-corners {
border-radius: 0.25rem !important;
}

.tooltip-wrapper {
padding:unset;
background-color: unset;
Expand Down

0 comments on commit 3ea5995

Please sign in to comment.