# Scroll bar in SVG

**URL:** https://discourse.nodered.org/t/scroll-bar-in-svg/86387
**Category:** Dashboard
**Created:** [13 March 2024 02:42 UTC](https://discourse.nodered.org/t/scroll-bar-in-svg/86387 "2024-03-13T02:42:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Youssef](https://avatars.discourse-cdn.com/v4/letter/y/df788c/32.png) [@Youssef](https://discourse.nodered.org/u/Youssef)
#### Post date: [13 March 2024 02:42 UTC](https://discourse.nodered.org/t/scroll-bar-in-svg/86387/1 "2024-03-13T02:42:03Z")

</div>

how to remove this when i import an SVG image

 ![sli](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e4f3829672e2c1a50383127484d3a39ae3193609.png)

---

<div class="post-metadata">

### Author: ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)
#### Post date: [13 March 2024 05:15 UTC](https://discourse.nodered.org/t/scroll-bar-in-svg/86387/2 "2024-03-13T05:15:21Z")

</div>

Your SVG viewbox on the SCG code is too big and needs adjustment.

you have to share that part of your SVG code ... usually the first view lines

example

\<svg  
width="800"  
height="600"  
viewBox="0 0 800 600"

play with the values and you will see the changes

---

<div class="post-metadata">

### Author: ![Youssef](https://avatars.discourse-cdn.com/v4/letter/y/df788c/32.png) [@Youssef](https://discourse.nodered.org/u/Youssef)
#### Post date: [14 March 2024 14:55 UTC](https://discourse.nodered.org/t/scroll-bar-in-svg/86387/3 "2024-03-14T14:55:28Z")

</div>

![scrol](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/4/34b920514f97baa252bc3ef20b50c96571c5b51e.png)

 ![scrol2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2fd8c5a034567edbb14ccc77f048f9a8a8adf59f.jpeg)

---

<div class="post-metadata">

### Author: ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)
#### Post date: [14 March 2024 22:26 UTC](https://discourse.nodered.org/t/scroll-bar-in-svg/86387/4 "2024-03-14T22:26:25Z")

</div>

a 1000 pixels i hight seems to be very much .. and the values for 'viewbox' and width/hight do nto have to be equal..just play with the values ... but I would start with values fitting your screen hight ... like 600 pixel

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [13 April 2024 22:26 UTC](https://discourse.nodered.org/t/scroll-bar-in-svg/86387/5 "2024-04-13T22:26:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
