Skip to content

Commit

Permalink
fix(core): expanding search sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalosard committed Oct 27, 2022
1 parent 678a719 commit 3f7728a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ $container-width: 11.5625rem;

:host {
display: flex;
width: $container-width;
width: auto;
height: $x-large-space;
align-items: center;
justify-content: space-between;

&.right-position {
width: $container-width !important;
}

.input-container {
transition: all 0.3s ease-in-out;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export class ExpandingSearch {
<Host
class={{
expanded: this.expanded,
'right-position': this.expanded,
}}
>
<button
Expand Down

0 comments on commit 3f7728a

Please sign in to comment.