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

Fix: Use proper translations used to prevent blurry icons in toolbar … #341

Merged
merged 2 commits into from
Dec 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions theme/components/dropdown/dropdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

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

/* Dropdown button should span horizontally, e.g. in vertical toolbars */
Expand All @@ -44,9 +44,12 @@

position: absolute;
left: 0px;
transform: translateY( 100% );
transform: translate3d( 0, 100%, 0 );
}

.ck-dropdown__panel-visible {
display: inline-block;

/* This will prevent blurry icons in dropdown on Firefox. See #340. */
will-change: transform;
}
3 changes: 3 additions & 0 deletions theme/components/icon/icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ svg.ck-icon {
/* Inherit cursor style (#5). */
cursor: inherit;

/* This will prevent blurry icons on Firefox. See #340. */
will-change: transform;

& * {
/* Inherit cursor style (#5). */
cursor: inherit;
Expand Down