Solved

How do i set padding within the sidebar?

Posted on 2016-11-26
2
33 Views
Last Modified: 2016-11-26
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
Comment
Question by:Daniish
  • 2
2 Comments
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41902440
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
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41902443
Try
.leaflet-sidebar > .leaflet-control {
	padding: 20px; 
}

Open in new window

0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Download a website to hdd 2 68
Error in JQuery 5 52
How to make a moving character 3 57
Sort Order Icons on HTML Table 3 23
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question