mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Add gap to lists
This commit is contained in:
parent
a14ddd9b28
commit
89556ed54d
5 changed files with 10 additions and 11 deletions
|
@ -85,6 +85,9 @@ const theme = ({ dt }) => `
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: ${dt('autocomplete.list.gap')};
|
||||
padding: ${dt('autocomplete.list.padding')};
|
||||
}
|
||||
|
||||
|
@ -102,14 +105,6 @@ const theme = ({ dt }) => `
|
|||
border-radius: ${dt('autocomplete.option.border.radius')};
|
||||
}
|
||||
|
||||
.p-autocomplete-option:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.p-autocomplete-option:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled).p-focus {
|
||||
background: ${dt('autocomplete.option.focus.background')};
|
||||
color: ${dt('autocomplete.option.focus.color')};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue