How to add indents between options in the selected input?

How to add an addition to my input options? Here is my CSS, and all parameters seem lower than each other without any interval (in terms of option height). I have CSS reset .. Other than this, how can I give the options a bit of height so that it looks good?

.upload-input select { display: block; font-size: 14px; color: #888; width: 616px; background: #fff; border: 1px solid #ccc; } 

Update

I applied the suggested css. It doesn’t look like that.

enter image description here

+4
source share
1 answer

Try

 .upload-input select option { padding: 6px;} 

You may need to play with .upload-input select css.

how

 .upload-input select {height: 35px;} 
+4
source

Source: https://habr.com/ru/post/1415262/


All Articles