From 3ec6351ee493bfcb057e2e937ed55d971603cad8 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:29:13 +0200 Subject: [PATCH] Remove sad attempt at """mobile support""" --- app/stylesheet/application.scss | 1 - app/stylesheet/base/base.scss | 4 ---- app/stylesheet/base/functions.scss | 7 ------- 3 files changed, 12 deletions(-) delete mode 100644 app/stylesheet/base/functions.scss diff --git a/app/stylesheet/application.scss b/app/stylesheet/application.scss index eaed82bd..8d607951 100644 --- a/app/stylesheet/application.scss +++ b/app/stylesheet/application.scss @@ -1,4 +1,3 @@ -@import "base/functions"; @import "base/vars"; @import "base/colors"; @import "base/links"; diff --git a/app/stylesheet/base/base.scss b/app/stylesheet/base/base.scss index 2f1cbff4..3d1527d8 100644 --- a/app/stylesheet/base/base.scss +++ b/app/stylesheet/base/base.scss @@ -6,10 +6,6 @@ body { margin: 0 auto; padding: 0 1rem; - @include mobile("small") { - padding: 0; - } - // Footer always at bottom setup display: flex; flex-direction: column; diff --git a/app/stylesheet/base/functions.scss b/app/stylesheet/base/functions.scss deleted file mode 100644 index 67c1fa16..00000000 --- a/app/stylesheet/base/functions.scss +++ /dev/null @@ -1,7 +0,0 @@ -$devies: ("small": 500px); - -@mixin mobile($type) { - @media screen and (max-width: map-get($devies, $type)) { - @content; - } -}