Skip to content

Commit

Permalink
Add CSS definitions for info texts in widgets (see #3926)
Browse files Browse the repository at this point in the history
Description
-----------

<img width="594" alt="" src="https://user-images.githubusercontent.com/1192057/149377982-74bc6e5c-46b6-4f86-a270-f6805b843061.png">

So we can use them e.g. here: #3872 (comment)

Commits
-------

ad327e6 Add CSS definitions for info texts in widgets
  • Loading branch information
leofeyer committed Jan 13, 2022
1 parent 846437e commit 4166f4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions core-bundle/src/Resources/contao/themes/flexible/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ p {
.widget .mce-tinymce {
margin:3px 0;
}
.widget p.info {
margin:2px 0;
padding:7px;
background:#f3f3f5;
line-height:1.3;
border-radius:3px;
}

/* Forms */
optgroup {
Expand Down
Loading

0 comments on commit 4166f4e

Please sign in to comment.