Skip to content

Commit

Permalink
Merge pull request #205 from plone/fix-154-scrollbars
Browse files Browse the repository at this point in the history
Show horizontal scrollbar in Users and Groups controlpanel only if needed
  • Loading branch information
vincentfretin authored Jul 6, 2020
2 parents 95f1caa + e2f4b96 commit 7f079fa
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ Source-Code

Issues
Please use the `Issue-Tracker <https://github.com/plone/plonetheme.barceloneta/issues>`_

If you made changes to the less files, to rebuild the files ``barceloneta-compiled.css`` and ``barceloneta-compiled.css.map`` you can execute this::

cd plonetheme.barceloneta/plonetheme/barceloneta/theme/less
npx lessc --source-map=barceloneta-compiled.css.map barceloneta.plone.local.less barceloneta-compiled.css
3 changes: 3 additions & 0 deletions news/154.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Show horizontal scrollbar in Users and Groups controlpanel only if needed.
This fixes https://github.com/plone/plonetheme.barceloneta/issues/154
[vincentfretin]
4 changes: 2 additions & 2 deletions plonetheme/barceloneta/theme/less/barceloneta-compiled.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import url("https://raw.githubusercontent.com/plone/Products.CMFPlone/81e8c743ae157e4e5a6a2276cdbc377effa46eb7/Products/CMFPlone/static/patterns/toolbar/src/css/variables.less");
@import url("https://raw.githubusercontent.com/plone/mockup/master/mockup/patterns/toolbar/variables.less");
@import "barceloneta.plone.less";
2 changes: 1 addition & 1 deletion plonetheme/barceloneta/theme/less/controlpanels.plone.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

.template-usergroup-groupprefs,
.template-usergroup-userprefs {
form { overflow: scroll; }
form { overflow-x: auto; }
}

.template-actions-controlpanel #content-core {
Expand Down

0 comments on commit 7f079fa

Please sign in to comment.