From efea1fe88d1f262237461a0028168b0f803d789e Mon Sep 17 00:00:00 2001 From: f Date: Wed, 27 Oct 2021 15:09:48 -0300 Subject: [PATCH] =?UTF-8?q?los=20elementos=20con=20la=20clase=20content=20?= =?UTF-8?q?tienen=20m=C3=A1rgenes=20internos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sass/content.scss | 11 +++++++++++ assets/css/styles.scss | 1 + 2 files changed, 12 insertions(+) create mode 100644 _sass/content.scss diff --git a/_sass/content.scss b/_sass/content.scss new file mode 100644 index 0000000..6914190 --- /dev/null +++ b/_sass/content.scss @@ -0,0 +1,11 @@ +/// Todos los elementos dentro de .content tienen margen inferior, salvo +/// el Ășltimo, para no modificar el padding y margin del contenedor. +.content { + & > * { + margin-bottom: 1rem; + + &:last-child { + margin-bottom: 0; + } + } +} diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 406eb99..7ab6cf4 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -132,6 +132,7 @@ $label-margin-bottom: 0; @import "snap"; @import "editor"; @import "menu"; +@import "content"; /// La barra de progreso de Turbo tiene el color primario /// de la paleta, definido por Bootstrap o por nosotres.