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

Commit

Permalink
Merge pull request #60 from ckeditor/t/ckeditor5/416
Browse files Browse the repository at this point in the history
Feature: Improved responsiveness of the media form view in narrow viewports (see ckeditor/ckeditor5#416).
  • Loading branch information
dkonopka committed Oct 26, 2018
2 parents d3aa6e8 + d7f425b commit c753463
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions theme/mediaform.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
* For licensing, see LICENSE.md.
*/

@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rwd.css";

.ck.ck-media-form {
display: flex;
align-items: flex-start;
flex-direction: row;
flex-wrap: nowrap;

& .ck-labeled-input {
display: inline-block;
Expand All @@ -14,4 +18,16 @@
& .ck-label {
display: none;
}

@mixin ck-media-phone {
flex-wrap: wrap;

& .ck-labeled-input {
flex-basis: 100%;
}

& .ck-button {
flex-basis: 50%;
}
}
}

0 comments on commit c753463

Please sign in to comment.