Semantic-ui: [Tab] - Evenly divided tabs pixel offset between last tab and segment

Created on 7 Jul 2016  路  3Comments  路  Source: Semantic-Org/Semantic-UI

Steps to Reproduce

  1. Create an evenly divided tabular menu, e.g. ui top attached three item tabular menu.
  2. Create corresponding segments, e.g. ui bottom attached tab segment.
  3. add required javascript, e.g. $('.menu .item').tab();.

Expected
The border of the last tab of an evenly divided tabluar menu should match with the border of the attached segment.

Result
There is a small offset (1 pixel) between tab border and segment border.

Testcase
http://jsfiddle.net/9ux939ro/
(second example)

Confirmed Bug stale

Most helpful comment

This might be related: #4248.

All 3 comments

Was playing around with tabs today and noticed it.

it happens because of this:

.ui.attached.segment {
    width: calc(100% + 2px );
    max-width: calc(100% + 2px );

if you set

calc(100% + 1px);

it's fixed

This might be related: #4248.

There has been no activity in this thread for 90 days. While we care about every issue and we鈥檇 love to see this fixed, the core team鈥檚 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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

ghost picture ghost  路  3Comments

arj-196 picture arj-196  路  3Comments

zhaoyao91 picture zhaoyao91  路  3Comments

deneuxa picture deneuxa  路  3Comments