Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed callout style draftJs #481

Merged
merged 3 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
- Risolto problema nel funzionamento della toolbar per il blocco HTML.
- Sistemate spaziature e font su mobile del blocco Card con Immagine e Card Semplice, migliorato il layout di quest'ultimo.
- È stato migliorato il contrasto minimo necessario tra sfondo e testo nei blocchi numeri, countdown e galleria a griglia.
- Risolto problema con lo stile "callout", icona megafono dell'editor di testo con sfondo bianco e bordo grigio
pnicolli marked this conversation as resolved.
Show resolved Hide resolved

## Versione 11.1.4 (05/01/2024)

Expand Down
5 changes: 4 additions & 1 deletion src/theme/ItaliaTheme/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ iframe {
}
}

.callout {
p.callout {
max-width: none;
border-left-width: 0.4rem;

p,
.public-DraftStyleDefault-block {
&:last-of-type {
Expand Down
4 changes: 2 additions & 2 deletions src/theme/bootstrap-override/bootstrap-italia/_callout.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.callout {
div.callout {
max-width: none;
padding: 0; //override volto's style
border: none;
border-radius: unset;
margin: 0;
box-shadow: none;
max-width: none;
}