From d9f5b0f519643f8dc650c738e5c9411c05ba50e2 Mon Sep 17 00:00:00 2001 From: Mariano Andres Botta Date: Wed, 8 Jan 2020 13:52:18 -0300 Subject: [PATCH] fix(css): grow class only for child --- src/demo/app/home/home.html | 2 +- src/lib/app/app.component.ts | 4 ++-- src/lib/css/layout.scss | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/demo/app/home/home.html b/src/demo/app/home/home.html index 4100671af..acd14e8e1 100644 --- a/src/demo/app/home/home.html +++ b/src/demo/app/home/home.html @@ -108,7 +108,7 @@
- + HOLA
diff --git a/src/lib/app/app.component.ts b/src/lib/app/app.component.ts index 767aa30b3..da2537bfa 100644 --- a/src/lib/app/app.component.ts +++ b/src/lib/app/app.component.ts @@ -20,7 +20,7 @@ import { Plex } from './../core/service';
-
+
@@ -36,7 +36,7 @@ import { Plex } from './../core/service';
-
+
{{plex.userInfo.usuario.nombreCompleto}}
{{plex.userInfo.organizacion.nombre}}
diff --git a/src/lib/css/layout.scss b/src/lib/css/layout.scss index cc7e00f4c..57fcc81eb 100644 --- a/src/lib/css/layout.scss +++ b/src/lib/css/layout.scss @@ -83,7 +83,7 @@ plex-layout { .grow { display: flex; - :first-child { + > :first-child { flex-grow: 1; }