This repository was archived by the owner on Jun 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 88 "@ckeditor/ckeditor5-ui" : " ^0.7.1" ,
99 "@ckeditor/ckeditor5-utils" : " ^0.8.0" ,
1010 "@ckeditor/ckeditor5-engine" : " ^0.8.0" ,
11- "@ckeditor/ckeditor5-paragraph" : " ^0.6.1"
11+ "@ckeditor/ckeditor5-paragraph" : " ^0.6.1" ,
12+ "@ckeditor/ckeditor5-theme-lark" : " ^0.6.1"
1213 },
1314 "devDependencies" : {
1415 "@ckeditor/ckeditor5-dev-lint" : " ^2.0.2" ,
Original file line number Diff line number Diff line change 11// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
22// For licensing, see LICENSE.md or http://ckeditor.com/license
33
4+ @import ' ~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing' ;
5+ @import ' ~@ckeditor/ckeditor5-theme-lark/theme/helpers/_fonts' ;
6+
47.ck-heading_heading {
58 & 1 {
69 font-size : 1.5em ;
1518 }
1619}
1720
21+ // Using absolute units to make sure each element has the same height and padding.
22+ // https://github.com/ckeditor/ckeditor5-heading/issues/63
23+ [class *= " ck-heading_" ] {
24+ line-height : 1.8 * $ck-font-size-base ;
25+ // Strip the units from $ck-def-spacing here.
26+ padding : $ck-def-spacing / ( $ck-def-spacing * 0 + 1 ) * $ck-font-size-base ;
27+ }
28+
1829[class *= " ck-heading_heading" ] {
1930 font-weight : bold ;
2031}
You can’t perform that action at this time.
0 commit comments