Skip to content

Commit

Permalink
fix(css): grow class only for child
Browse files Browse the repository at this point in the history
  • Loading branch information
liquid36 committed Jan 8, 2020
1 parent 9344aff commit d9f5b0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/demo/app/home/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
</plex-button>
</form>
<div class="grow">
<plex-text [(ngModel)]="field"></plex-text>
<plex-text [(ngModel)]="field" prefix="<i class='mdi mdi-barcode'></i>"></plex-text>
<plex-button type="success">HOLA</plex-button>
</div>
</plex-layout-sidebar>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { Plex } from './../core/service';
</div>
<div class="actions">
<!--App Status-->
<div class="action">
<div class="action hidden-md-down">
<i *ngIf="online" class="mdi mdi-cloud"></i>
<i *ngIf="!online" class="mdi mdi-cloud-off-outline text-danger"></i>
<div class="popover popover-bottom">
Expand All @@ -36,7 +36,7 @@ import { Plex } from './../core/service';
</div>
</div>
</div>
<div *ngIf="plex.userInfo" class="userinfo">
<div *ngIf="plex.userInfo" class="userinfo hidden-md-down">
<div>
<span>{{plex.userInfo.usuario.nombreCompleto}}</span><br><span *ngIf="plex.userInfo.organizacion">{{plex.userInfo.organizacion.nombre}}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/css/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ plex-layout {
.grow {
display: flex;

:first-child {
> :first-child {
flex-grow: 1;
}

Expand Down

0 comments on commit d9f5b0f

Please sign in to comment.