Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/flat-icons-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@studiocms/ui": patch
---

Fixes Select components UI bug, where list items had no background and showed bullet points
13 changes: 11 additions & 2 deletions packages/studiocms_ui/src/components/SearchSelect/searchselect.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
left: 0;
display: none;
max-height: 300px;
border: 1px solid hsl(var(--border));
border: 1px solid var(--border);
border-radius: var(--radius-md);
background-color: hsl(var(--background-step-2));
background-color: var(--background-step-2);
z-index: 90;
box-shadow: 0px 4px 8px var(--shadow);
}
Expand All @@ -62,6 +62,15 @@
bottom: calc(100% - 1.5rem);
}

.sui-search-select-dropdown-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
width: 100%;
}

.sui-search-select-option,
.empty-search-results {
padding: 0.5rem;
Expand Down
13 changes: 11 additions & 2 deletions packages/studiocms_ui/src/components/Select/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
left: 0;
display: none;
max-height: 300px;
border: 1px solid hsl(var(--border));
border: 1px solid var(--border);
border-radius: var(--radius-md);
background-color: hsl(var(--background-step-2));
background-color: var(--background-step-2);
z-index: 90;
box-shadow: 0px 4px 8px var(--shadow);
}
Expand All @@ -110,6 +110,15 @@
bottom: calc(100% + 0.25rem);
}

.sui-select-dropdown-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
width: 100%;
}

.sui-select-option {
padding: 0.5rem;
cursor: pointer;
Expand Down