Kunstmaan / BootstrapCK4-Skin

A Bootstrap inspired skin for CKeditor4
MIT License
59 stars 22 forks source link

.cke_combo_button bottom margin causes toolbar that wraps to display incorrectly #10

Open bolora opened 9 years ago

bolora commented 9 years ago

Line 61 of https://github.com/Kunstmaan/BootstrapCK4-Skin/blob/81648ed28a83f20ff1c5fce3ba95c7a8c17d802a/skins/bootstrapck-dev/scss/components/_richcombo.scss

57: /* The container for combo text and arrow. */ 58: .cke_combo_button { 59: display: inline-block; 60: float: left; 61: margin: 0 6px 5px 0;

should be: margin: 0 6px 3px 0;

The extra two pixels causes anything under to be shifted to the right leaving a hole in the second row when the toolbar wraps.

I would fork and do a pull request but I don't do scss.

a work around is to have this somewhere in your app:

.cke_combo_button { margin: 0 6px 3px 0 !important; }

Thanks