Jump to content

code block scrolling question

Recommended Posts

I have a scrolling issue on a code block. If you use the scroll buttons it likes to scroll beyond the content in the block. How do I get it to stop scrolling at the end of the content.

I moved the link for the page up to the header for easy access. It's called Cryptocurrency Dashboard. The code block is at the top of the page called "Forking/Halving Events".

 

Edited by madseason
Link to comment

The embedded code contains an iframe which has a margin.

622766808_ScreenShot2022-09-29at2_15_18PM.thumb.png.a70a552b35ec737a5c5d1ca1ee5120ca.png

The only way to get rid of that margin is only possible if the system that generated the embedded code allows you to get rid of it there.

Because of browser security it is not possible, in this case, to reach into an embedded code and change it from within your SS site.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

As shown in my screenshot you can see a class name of mb80. That appears to control the margin you see at the bottom of the table. I'd look for a setting of some kind. As you see from the CSS other similar class names such as mb0 exist, which I assume is zero margin.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.