[Divider] - Vertical dividers broken on documentation site
I am getting the same problem on my web projects. I think this code is occuring the error:
.ui.grid > .column + .divider, .ui.grid > .row > .column + .divider {
left: auto;
}
I suppose if you disable this code sample, the error is going to be removed.
the code is in semantic-ui->dist->semantic.css line: 4679
Happens since last update from Chrome. Firefox renders correct.
Can confirm Chrome 51 looks fine and Chrome 52 looks bugged.
This seems like a chrome bug, as left: auto should be correct for positioning between flex items. Perhaps I should open a bug report with Chromium.
@ecehanece @1vasari
I've posted a bug with Chromium. There does not appear to be a workaround from a framework level. Hopefully Chrome team can fix this soon.
https://github.com/w3c/csswg-drafts/issues/401
A simple workaround if anyone is having problems: http://jsfiddle.net/xox5kt31/2/
This worked for me:
.ui.grid>.column+.divider, .ui.grid>.row>.column+.divider {
left: 50%;
}
That only works if you have exactly 2 columns.
Please note. This behaviour is correct to the spec and Edge works the same way. This will not be fixed by browsers.
@indiealexh This is why the conversation is with spec makers at W3C CSSWG.
I'm using Firefox developer edition (52.0a2, 64bit) on ubuntu and having the same problem with vertical divider
Updated @Sarke's fiddle to use https when pulling the css in his solution (not sure how to propose changes to your fiddle): http://jsfiddle.net/allthesignals/xox5kt31/7/
In older versions of Semantic this problem doesn't exist even with the latest Chrome versions. I think on version 2.2.2 it's rendered correctly
This issue is still happening, and all the fixes currently seem to render this as a horizontal divider - not vertical.
@samdoidge The fix I posted above works.
@Sarke Apologies, it looks like it does. I was viewing in a smaller window where it defaults as a horizontal divider.
Hey @jlukic
I appreciate all the work you've done with this framework. It's a joy to use and I'm sorry https://github.com/w3c/csswg-drafts/issues/401 rejected your proposal.
However, the behavior remains broken in the latest release and it's been so for almost 10 months now. Would it be possible to implement a workaround for the time being while the upstream bureaucracy plays out their drama?
Any update on this issue? We're using Semantic UI on a project that's about to go live and still seeing this issue on all browsers except Safari
The proposed fix is only for one divider, or two columns. The documentation page uses more. Looks like wrapping with relative position & padding/margin 0 solves it, like:
<div style="position:relative; margin:0; padding:0;"><div class="ui vertical divider">Or</div></div>
But it would look way nicer if the final solution could be structured as:
<div class="ui vertical"><span class="divider">Or</span></div> or similar.
How about manually set style attr to the div, like:
<div class="ui vertical divider" style="left:50%"> Or</div>
There has been no activity in this thread for 90 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one.
However, PRs for this issue will of course be accepted and welcome!
If there is no more activity in the next 90 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks!
