Skip to content

Commit

Permalink
fix height of hr element not being expanded by child border width i…
Browse files Browse the repository at this point in the history
…n divider small
  • Loading branch information
saschadube committed Dec 20, 2018
1 parent af11a9f commit 701d6c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/less/components/divider.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@
========================================================================== */

/*
* Reset child height, caused by `inline-block`
* Fix height of `hr` element not being expanded by child border width.
* `height` also needed to reset the child `line-height` caused by `inline-block`
*/

.uk-divider-small { line-height: 0; }
.uk-divider-small { height: @divider-small-border-width; }

.uk-divider-small::after {
content: "";
Expand Down

0 comments on commit 701d6c3

Please sign in to comment.