From 884bfb92c79a708396ad3f0285f1a76fa8ae0cf4 Mon Sep 17 00:00:00 2001 From: CodeDoctorDE Date: Sat, 23 Mar 2024 23:13:03 +0100 Subject: [PATCH] Remove margin, padding 0 on row and column --- packages/web/package.json | 2 +- packages/web/scss/_layout.scss | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/web/package.json b/packages/web/package.json index 9518872..59cbbf4 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -2,7 +2,7 @@ "name": "@linwooddev/style", "description": "", "main": "index.js", - "version": "0.3.7", + "version": "0.3.8", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "watch": "sass --watch scss/:css/", diff --git a/packages/web/scss/_layout.scss b/packages/web/scss/_layout.scss index a6f57b0..1bb65e6 100644 --- a/packages/web/scss/_layout.scss +++ b/packages/web/scss/_layout.scss @@ -5,16 +5,12 @@ display: flex; flex-direction: column; list-style: none; - margin: 0; - padding: 0; } .row { display: flex; flex-direction: row; list-style: none; - margin: 0; - padding: 0; } .container { @@ -109,6 +105,14 @@ margin-top: auto; margin-bottom: auto; } +.mp-auto { + margin: auto; + padding: auto; +} +.mp-none { + margin: 0; + padding: 0; +} @each $breakpoint, $value in vars.$spacing { .gap-#{$breakpoint} {