Skip to content

Commit

Permalink
Improve divider vertical mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Sep 4, 2024
1 parent e3648a3 commit 512ac6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/elements/divider/divider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
$element->style->child('.divider-content:after')->addCss('content', '""');
$element->style->child('.divider-content:after')->addCss('height', $height . 'px');
$element->style->child('.divider-content:after')->addCss('border-left', $border_width. 'px ' . $border_style . ' ' . $color['light']);
$element->style_dark->child('.divider-content:after')->addCss('border-color', $color['dark']);
} else {
$element->style->child('.divider-content')->addCss('border-top', $border_width. 'px ' . $border_style . ' ' . $color['light']);
$element->style_dark->child('.divider-content')->addCss('border-color', $color['dark']);
Expand Down

0 comments on commit 512ac6b

Please sign in to comment.