settings-search: tweak

This commit is contained in:
Lemmy
2026-01-28 19:41:52 -05:00
parent a1ebd660bf
commit 0a88e3619d
+2 -2
View File
@@ -737,7 +737,7 @@ Item {
Layout.fillWidth: true
placeholderText: I18n.tr("common.search")
inputIconName: "search"
visible: root.sidebarExpanded
visible: opacity > 0
opacity: root.sidebarExpanded ? 1.0 : 0.0
Behavior on opacity {
@@ -759,7 +759,7 @@ Item {
id: searchCollapsedContainer
Layout.fillWidth: true
Layout.preferredHeight: Math.round(searchCollapsedRow.implicitHeight + Style.marginS * 2)
visible: !root.sidebarExpanded
visible: opacity > 0
opacity: !root.sidebarExpanded ? 1.0 : 0.0
Behavior on opacity {