Skip to content

Commit

Permalink
fix(field): add display: block to fullWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Jun 14, 2019
1 parent 1ce4fe7 commit 139265c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/field/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ export class LyField implements OnInit, AfterContentInit, AfterViewInit, OnDestr
if (newVal) {
this._fullWidthClass = this._theme.addStyle(
`fullWidth`,
{ width: '100%' },
{
display: 'block',
width: '100%'
},
this._getHostElement(),
this._fullWidthClass,
STYLE_PRIORITY
Expand Down

0 comments on commit 139265c

Please sign in to comment.