Skip to content

Commit

Permalink
Remove adjustment to label on blank underline
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindsay Wardell committed Jan 16, 2024
1 parent badaaeb commit fc91fdb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Nri/Ui/Block/V6.elm
Original file line number Diff line number Diff line change
Expand Up @@ -715,16 +715,7 @@ render config =
, backgroundColor = palette.backgroundColor
, maybeMarker = maybeMark
, labelPosition = config.labelPosition
, labelCss =
config.labelCss
++ (case ( config.borderStyle, config.content ) of
( Underline, [ Blank _ ] ) ->
[ Css.top (Css.px 6)
]

_ ->
[]
)
, labelCss = config.labelCss
, labelId = config.labelId
, labelContentId = Maybe.map labelContentId config.labelId
}
Expand Down

0 comments on commit fc91fdb

Please sign in to comment.