mirror of
https://github.com/codex-team/editor.js
synced 2024-06-09 09:22:16 +02:00
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:
parent
afa158d5db
commit
ef50f5cf5a
10
dist/editor.js
vendored
10
dist/editor.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
### 2.11.8
|
||||||
|
|
||||||
|
- `Fix` — Block tunes margins now better works with more than 3 buttons
|
||||||
|
|
||||||
### 2.11.7
|
### 2.11.7
|
||||||
|
|
||||||
- `Fix` *Paste* — Fix pasting into non-initial Blocks
|
- `Fix` *Paste* — Fix pasting into non-initial Blocks
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@editorjs/editorjs",
|
"name": "@editorjs/editorjs",
|
||||||
"version": "2.11.7",
|
"version": "2.11.8",
|
||||||
"description": "Editor.js — Native JS, based on API and Open Source",
|
"description": "Editor.js — Native JS, based on API and Open Source",
|
||||||
"main": "dist/editor.js",
|
"main": "dist/editor.js",
|
||||||
"types": "./types/index.d.ts",
|
"types": "./types/index.d.ts",
|
||||||
|
|
|
@ -115,10 +115,14 @@
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
color: var(--grayText);
|
color: var(--grayText);
|
||||||
|
|
||||||
&:not(:last-of-type){
|
&:not(:nth-child(3n+3)) {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:nth-child(n+4) {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--bg-light);
|
background-color: var(--bg-light);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue