Skip to content

Vertical divider: only centered position? #1574

Discussion options

You must be logged in to vote

If you want to use divider element within grid. Better add customization inside your divider.overrides. The below CSS will work:

.ui.grid > .column > .ui.divider {
  left: auto;
  right: 0;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
}

Here's fiddle (https://jsfiddle.net/2hfwdq6k/). You can add divider element within your grid column. You will need additional customization for responsive layouts.

If you just want the bordered only, FUI already support horizontal segments with grid. Here's fiddle (https://jsfiddle.net/d73zs0gk/).

Or you can use custom CSS to apply border as @TheJltres suggested.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1574 on October 06, 2020 19:32.