Skip to content

Commit

Permalink
Better default styles for the component
Browse files Browse the repository at this point in the history
  • Loading branch information
sconix committed Dec 19, 2017
1 parent 6575029 commit bfe37a1
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/lib/quill.component.scss
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
@import url('https://cdn.quilljs.com/1.3.3/quill.snow.css');
@import url('https://cdn.quilljs.com/1.3.3/quill.bubble.css');

quill {
/* stylelint-disable */
.quill {
display: block;
width: 100%;
height: 100%;

& > .ql-toolbar {
& > .ql-formats {
margin-right: 12px;
}
}

&[fxflex] {
display: flex;
flex-direction: inherit;
-webkit-box-orient: inherit;
-webkit-box-direction: inherit;
align-items: inherit;
min-width: 0;
min-height: 0;

&.quill {
& > .ql-toolbar {
flex: 0 0 auto;
-ms-flex: 0 0 auto;
-webkit-box-flex: 0;
}

& > .ql-container {
flex: 1 1 auto;
-ms-flex: 1 1 auto;
-webkit-box-flex: 1;
min-width: 0;
min-height: 0;
}
}
}
/* stylelint-enable */
-webkit-box-direction: inherit;
-webkit-box-orient: inherit;

&.quill {
& > .ql-toolbar {
& > .ql-formats {
margin-right: 12px;
}
flex: 0 0 auto;

-webkit-box-flex: 0;
}

& > .ql-container {
flex: 1 1 auto;
min-width: 0;
min-height: 0;

-webkit-box-flex: 1;
}
}
}

0 comments on commit bfe37a1

Please sign in to comment.