• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 66
  • Last Modified:

How do i set padding within the sidebar?

I had this question after viewing How do i remove the outer scrollbar?.

At present the text is too close to the edge of the sidebar.

How do i add padding of 20px to the contents of the sidebar?


Many thanks
0
Daniish
Asked:
Daniish
  • 2
1 Solution
 
Julian HansenCommented:
What sidebar are we talking about - could we see some code / a link / a page / anything that would give us something to work with.
0
 
Julian HansenCommented:
Try
.leaflet-sidebar > .leaflet-control {
	padding: 20px; 
}

Open in new window

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now