Skip to content

Commit 43814ce

Browse files
committed
fix: actually hide the search icon when it's hidden by a theme
1 parent 7c6d387 commit 43814ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/theme-builder/state/QueryBoxState.svelte.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class QueryBoxState implements IState {
169169
x:Key="SearchIconStyle"
170170
BasedOn="{StaticResource BaseSearchIconStyle}"
171171
TargetType="{x:Type Path}">
172-
${this.getSearchIconStyleContents()}
172+
${this.getSearchIconStyleContents()}
173173
</Style>
174174
175175
<!-- Progress bar under the query text box -->
@@ -192,6 +192,8 @@ export class QueryBoxState implements IState {
192192
`.trim();
193193
return `
194194
<Setter Property="Visibility" Value="Collapsed" />
195+
<Setter Property="Width" Value="$0" />
196+
<Setter Property="Height" Value="0" />
195197
`.trim();
196198
}
197199

0 commit comments

Comments
 (0)