Closed oleg-dk closed 2 years ago
if i understand your issue correctly: you want to remove the margin from specific blocks ? there are 2 solutions available
pre
wrapper to the enlighter codeblocks. this allows you to add a custom class which removes the marginYep, thanks. 2nd is just what i need.
There is the problem in styling page around enlighter block. It has margin under it: it may be ok… but if i want the text to go right behind it, for example in case:
i fail to do it, because in html dom enlighter div-tag stands before the original pre-tag so i even can't slyle it with css rule
.enlighter-origin.no-bottom-margin + .enlighter-default { margin-bottom: 0; }
My sugesstion is to add enlighter div-tag after original pre-tag, so we can style bottom-margin. Or think about a way of forwarding classes from original pre-tag to enlighter div-tag.