From e06e7b24221cf354dcb7047a9e270a9232c5d8d7 Mon Sep 17 00:00:00 2001 From: reverend Date: Sun, 7 Mar 2021 16:05:08 +0100 Subject: [PATCH] Hack to acomplish padding/margin with 999 Hack --- components/01_Layouts/fan/_fan.styl | 11 +++++------ components/01_Layouts/fan/fan.hbs | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/components/01_Layouts/fan/_fan.styl b/components/01_Layouts/fan/_fan.styl index 648ab11..661c726 100644 --- a/components/01_Layouts/fan/_fan.styl +++ b/components/01_Layouts/fan/_fan.styl @@ -28,13 +28,12 @@ RV-Fan--horizontal(base-height, base-width) margin 0 padding 0 - --_spacing-difference calc(var(--inner-spacing) - var(--outer-spacing)) + --_padding var(--inner-spacing) + --_margin var(--outer-spacing) * - position relative - height calc(100% - var(--_spacing-difference)) - width calc(100% - var(--_spacing-difference)) - top calc(var(--_spacing-difference) / 2) - left calc(var(--_spacing-difference) / 2) + margin var(--_margin) + padding var(--_padding) + box-sizing border-box +RV-Element('Surface') height base-height diff --git a/components/01_Layouts/fan/fan.hbs b/components/01_Layouts/fan/fan.hbs index 94dd815..14798e6 100644 --- a/components/01_Layouts/fan/fan.hbs +++ b/components/01_Layouts/fan/fan.hbs @@ -12,7 +12,7 @@ -
+

Et voluptas earum ut. Distinctio qui eaque quo aliquid ipsam ut. Et est sit sed odio aliquam nam. Possimus numquam officiis tenetur quibusdam sint quos sit est. Doloremque hic totam error velit hic. Dolorum labore necessitatibus cumque quisquam voluptate molestiae quae aspernatur.