Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

[Buttons] Disabled basic button has border mismatch

Open wmulligan opened this issue 11 years ago • 2 comments

This bug is minor, but really annoying to look at:

<div class="ui basic buttons">
  <div class="ui button">Previous</div>
  <div class="ui button ">1</div>
  <div class="ui button">2</div>
  <div class="ui button disabled">Next</div>
</div>

The 'Next' button has "opacity: 0.3", due to disabled, but that causes the left border to be the incorrect color.

wmulligan avatar Jan 20 '15 22:01 wmulligan

I fixed it with this code.

.ui.basic.buttons > .ui.button.disabled:not(:first-child) {
    border-left: 1px solid rgba(39, 41, 43, 0.5);
}

wmulligan avatar Jan 20 '15 22:01 wmulligan

Fixed in next

jlukic avatar Jan 20 '15 23:01 jlukic