Skip to content

Commit d8ffa06

Browse files
committed
wip
1 parent 6f4acdc commit d8ffa06

File tree

1 file changed

+4
-6
lines changed
  • ghcjs/miso-widgets/src/Functora/Miso

1 file changed

+4
-6
lines changed

ghcjs/miso-widgets/src/Functora/Miso/Types.hs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ genericFieldViewer action value widget =
228228
<> ( if not allowCopy
229229
then mempty
230230
else
231-
[ span_ mempty [text " "],
232-
IconButton.iconButton
231+
[ IconButton.iconButton
233232
( IconButton.config
234233
& IconButton.setOnClick
235234
( action $ Jsm.shareText input
@@ -238,10 +237,9 @@ genericFieldViewer action value widget =
238237
[ Theme.primary,
239238
style_
240239
[ ("height", "auto"),
241-
("width", "inherit"),
242-
("padding", "inherit"),
243-
("line-height", "inherit"),
244-
("font-size", "85%")
240+
("padding-top", "inherit"),
241+
("padding-bottom", "inherit"),
242+
("vertical-align", "middle")
245243
]
246244
]
247245
)

0 commit comments

Comments
 (0)