Skip to content

Commit

Permalink
fix(datepicker): fix fullwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch committed Aug 6, 2021
1 parent ef76dcf commit cddd3f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
display: block;
position: relative;
font-family: $family-primary;

&.is-fullwidth {
width: 100%;
}
}

.datepicker-trigger-icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ export class Datepicker implements ComponentInterface {
aria-disabled={this.disabled ? 'true' : null}
class={{
'is-disabled': this.disabled,
'is-fullwidth': this.expanded,
}}
>
<bal-dropdown expanded={this.expanded} fixedContentWidth={true} onBalCollapse={this.onDropdownChange} ref={el => (this.dropdownElement = el as HTMLBalDropdownElement)}>
Expand Down

0 comments on commit cddd3f2

Please sign in to comment.