Skip to content

Commit 656f05c

Browse files
committed
style(make findable): keep button expanded while options are shown
1 parent de92f9d commit 656f05c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

elements/src/components/pos-make-findable/pos-make-findable.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ svg {
6565
width: var(--size-6);
6666
}
6767

68-
button.main:hover {
68+
button.main:hover,
69+
button.open {
6970
width: var(--size-full);
7071
height: var(--size-8);
7172
background: var(--color-grey-200);

elements/src/components/pos-make-findable/pos-make-findable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class PosMakeFindable implements PodOsAware {
7878

7979
return (
8080
<Host>
81-
<button class="main" onClick={e => this.onClick(e)} title="">
81+
<button class={{ main: true, open: this.showOptions }} onClick={e => this.onClick(e)} title="">
8282
<svg
8383
xmlns="http://www.w3.org/2000/svg"
8484
fill="none"

0 commit comments

Comments
 (0)