schochastics / quarto-social-share

Quarto Extension that adds buttons to share on social media

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Container Class Feature Request

tashapiro opened this issue · comments

Hi David, happy new year!

Really love this package for Quarto. The before-body add was fantastic, thank you.

I have another request. I'm trying to make some adjustments to align my icons to the left. But I notice because the parent div containing the social-share is "page-columns page-rows-contents page-layout-article" it automatically applies a grid that makes it difficult to align to the left.

Wondering if it would be possible to pass in a class name to the parameter to override the article grid class? Maybe there's a better way to approach this though. Attached samples of what I'm trying to do.

Thank you!

PS... as soon as Font Awesome comes out with a Buesky icon (next release) will be pestering you one last time with another wish list item. :)

Current output:
image

Desired output:
Screenshot 2024-01-08 at 11 43 54 AM

Hi Tanya,
Happy new year!
I implemented it (I THINK...). I made some general changes to the socia-share class and added a parameter divclass.
If this parameter is present below share, it completely overrides the page-columns page-rows-contents page-layout-article part. It worked in my small test, but would appreciate some feedback from you, because I might have overlooked something