Skip to content

Build your personal knowledge base with Trilium Notes

fix(icon_picker): let the icon grid reach the popup's edges

Elian Doran72622a3ec9a1
diff --git a/apps/client/src/widgets/note_icon.css b/apps/client/src/widgets/note_icon.css
index eb3471a245..4e509acd10 100644
--- a/apps/client/src/widgets/note_icon.css
+++ b/apps/client/src/widgets/note_icon.css
@@ -45,7 +45,13 @@ div.note-icon-widget {
border-radius: 10px;
border-width: 2px;
box-shadow: 10px 10px 93px -25px black;
- padding: 10px 15px 10px 15px !important;
+ --padding: 0;
+ padding: 0 !important;
+ overflow: clip;
+
+ .filter-row {
+ padding: 10px 15px;
+ }
}
.note-icon-widget button.note-icon {
diff --git a/apps/client/src/widgets/react/IconPicker.tsx b/apps/client/src/widgets/react/IconPicker.tsx
index b19e450ddb..e3f3d4e674 100644
--- a/apps/client/src/widgets/react/IconPicker.tsx
+++ b/apps/client/src/widgets/react/IconPicker.tsx
@@ -176,7 +176,6 @@ function IconPickerDropdownButton({
title={title}
disabled={disabled}
dropdownRef={dropdownRef}
- dropdownContainerStyle={{ width: "620px" }}
autoClose="outside"
backdrop={backdrop}
hideToggleArrow