Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Disabled button tooltips when the split button is open.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Feb 20, 2018
1 parent 0b625f9 commit 68587a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions theme/components/dropdown/splitbutton.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* For licensing, see LICENSE.md.
*/

@import "../tooltip/mixins/_tooltip.css";

.ck-splitbutton {
/* Enable font size inheritance, which allows fluid UI scaling. */
font-size: inherit;
Expand All @@ -11,3 +13,8 @@
z-index: calc(var(--ck-z-default) + 1);
}
}

/* Disable tooltips for the buttons when the button is "open" */
.ck-splitbutton.ck-splitbutton_open > .ck-button {
@mixin ck-tooltip_disabled;
}

0 comments on commit 68587a4

Please sign in to comment.