Skip to content

Commit

Permalink
IBX-4908: Fixed styling for custom styles in editor (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 authored May 19, 2023
1 parent dfe2b60 commit e194556
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/bundle/Resources/public/scss/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,23 @@
}
}

[data-eztype='style'] {
&[data-ezelement='eztemplate'] {
padding: calculateRem(8px);
border-width: calculateRem(8px);
border-style: solid;
border-color: $ibexa-color-light-100;
border-radius: $ibexa-border-radius-small;
}

&[data-ezelement='eztemplateinline'] {
background-color: $ibexa-color-light-100;
border-radius: $ibexa-border-radius-small;
padding: 0 calculateRem(4px);
margin: 0 calculateRem(4px);
}
}

.ibexa-embed-type-image {
padding: calculateRem(8px);
}
Expand Down
1 change: 1 addition & 0 deletions src/bundle/Resources/public/scss/variables/vars.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$ibexa-border-radius: calculateRem(10px);
$ibexa-border-radius-small: calculateRem(5px);

$ibexa-text-font-size: calculateRem(16px);
$ibexa-text-font-size-small: calculateRem(12px);

0 comments on commit e194556

Please # to comment.