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

Commit

Permalink
Enabled CSS for ButtonView and ListView.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Jun 21, 2018
1 parent b899098 commit a776d43
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 8 additions & 0 deletions theme/components/button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ a.ck.ck-button {
@mixin ck-tooltip_enabled;

position: relative;
display: inline-flex;
align-items: center;
justify-content: left;

&.ck-button_with-text {
& .ck-button__label {
display: inline-block;
}
}

/* Center the icon horizontally in a button without text. */
&:not(.ck-button_with-text) {
justify-content: center;
}

&:hover {
@mixin ck-tooltip_visible;
}
Expand Down
4 changes: 0 additions & 4 deletions theme/components/dropdown/dropdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
& .ck-dropdown__arrow {
pointer-events: none;
z-index: var(--ck-z-default);

position: absolute;
top: 50%;
transform: translate3d( 0, -50%, 0 );
}

/* Dropdown button should span horizontally, e.g. in vertical toolbars */
Expand Down
2 changes: 2 additions & 0 deletions theme/components/list/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/* Crop the the items when the list has huge border-radius. */
overflow: hidden;
display: flex;
flex-direction: column;

& .ck-list__item,
& .ck-list__separator {
Expand Down

0 comments on commit a776d43

Please sign in to comment.