Block tunes margins now better works with more than 3 buttons (#643)

* Fix settings margins

* Remove "not last-of-type" option for settings buttons

* Update CHANGELOG.md
This commit is contained in:
Taly 2019-03-11 19:36:59 +03:00 committed by GitHub
parent afa158d5db
commit ef50f5cf5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 7 deletions

10
dist/editor.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,9 @@
# Changelog
### 2.11.8
- `Fix` — Block tunes margins now better works with more than 3 buttons
### 2.11.7
- `Fix` *Paste* — Fix pasting into non-initial Blocks

View file

@ -1,6 +1,6 @@
{
"name": "@editorjs/editorjs",
"version": "2.11.7",
"version": "2.11.8",
"description": "Editor.js — Native JS, based on API and Open Source",
"main": "dist/editor.js",
"types": "./types/index.d.ts",

View file

@ -115,10 +115,14 @@
vertical-align: bottom;
color: var(--grayText);
&:not(:last-of-type){
&:not(:nth-child(3n+3)) {
margin-right: 5px;
}
&:nth-child(n+4) {
margin-top: 5px;
}
&:hover {
background-color: var(--bg-light);
}