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 #239 from ckeditor/t/ckeditor5/416
Browse files Browse the repository at this point in the history
Feature: Improved responsiveness of the text alternative view in narrow viewports (see ckeditor/ckeditor5#416).
  • Loading branch information
dkonopka authored Oct 26, 2018
2 parents a7e5e75 + 2161a7d commit ff5394a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions theme/textalternativeform.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,30 @@
* For licensing, see LICENSE.md.
*/

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

.ck.ck-text-alternative-form {
display: flex;
flex-direction: row;
flex-wrap: nowrap;

& .ck-labeled-input {
display: inline-block;
}

& .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 ff5394a

Please sign in to comment.