Open SamuelmdLow opened 1 month ago
If I understand the problem statement correctly then I think the embedMargins method in main.js is not used anywhere in the codebase. I commented the other unused code as well.
If I understand the problem statement correctly then I think the embedMargins method in main.js is not used anywhere in the codebase. I commented the other unused code as well.
I meant to sasy that 'embedMargins' is used but I think there is a better way to do it using css instead of javascript
The Verge does this with their quotes
Just like in
ImageBlock
(found inubyssey.ca/images/blocks.py
), I think the PullQuoteBlock (found inubyssey.ca/article/blocks.py
) should have the style choiceblock that gives the option for the quote to be default, left, or right. Left or Right should add aleft
orright
class to the quote (the template is found inubyssey.ca/article/templates/article/stream_blocks/quote.html
).For reference you can see the imageblock tempalte in
ubyssey.ca/images/templates/images/stream_blocks/image_block.html
and the styling for.left
and.right
inubyssey.ca/ubyssey/static_src/src/styles/modules/article/_embeds.scss