madseason Posted September 29, 2022 Posted September 29, 2022 (edited) 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 October 6, 2022 by madseason
creedon Posted September 29, 2022 Posted September 29, 2022 The embedded code contains an iframe which has a margin. 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. madseason 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
madseason Posted September 29, 2022 Author Posted September 29, 2022 (edited) Thanks! They do provide this on the site. Not sure what this all means in addition to the code that is posted on my site. Edited September 29, 2022 by madseason
creedon Posted September 29, 2022 Posted September 29, 2022 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. madseason 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
madseason Posted September 29, 2022 Author Posted September 29, 2022 No settings. The widget code they provide is below. I edited the width and height to get it into the space on my site. <iframe src="https://widget.nicehash.com/countdown" width="100%" height="350" scrolling="no" id="nhiframe"></iframe>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment