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

I/1053: Prevent blurry dropdowns #529

Merged
merged 3 commits into from
Nov 6, 2019
Merged
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
10 changes: 6 additions & 4 deletions theme/components/dropdown/dropdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@

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

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

&.ck-dropdown__panel_ne,
Expand All @@ -49,7 +46,12 @@

&.ck-dropdown__panel_se,
&.ck-dropdown__panel_sw {
transform: translate3d( 0, 100%, 0 );
/*
* Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.
* See https://github.com/ckeditor/ckeditor5/issues/1053.
*/
top: 100%;
bottom: auto;
}

&.ck-dropdown__panel_ne,
Expand Down