Skip to content

Commit

Permalink
Merge pull request #64 from eea/develop
Browse files Browse the repository at this point in the history
fix(open-styles-button): Show button only for the inner most block - …
  • Loading branch information
avoinea committed Sep 27, 2022
2 parents 6168cd8 + df921d0 commit 77c2a8f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [3.7.2](https://github.com/eea/volto-block-style/compare/3.7.1...3.7.2) - 27 September 2022

#### :bug: Bug Fixes

- fix(open-styles-button): Show button only for the inner most block - refs #148213 [Alin Voinea - [`696384b`](https://github.com/eea/volto-block-style/commit/696384b613b3684cb8cc9b2b2a0554571facd7c2)]

### [3.7.1](https://github.com/eea/volto-block-style/compare/3.7.0...3.7.1) - 27 September 2022

#### :rocket: New Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-block-style",
"version": "3.7.1",
"version": "3.7.2",
"description": "volto-block-style: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
5 changes: 5 additions & 0 deletions src/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@
.loadAddonVariables();

.open-styles-button {
display: none;
width: 100%;
padding: 0 1em;
margin: auto 0;
text-align: right;

&:last-of-type {
display: block;
}

button {
color: @linkColor;
cursor: pointer;
Expand Down

0 comments on commit 77c2a8f

Please sign in to comment.