From 7ce2c974b277f8060e70b6f32f186979346ce016 Mon Sep 17 00:00:00 2001 From: simurai Date: Mon, 17 Jun 2019 09:33:43 +0900 Subject: [PATCH 1/2] Remove .border This is not needed anymore since it gets added with the responsive mixin --- src/utilities/borders.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utilities/borders.scss b/src/utilities/borders.scss index b4846519..8a55aef6 100644 --- a/src/utilities/borders.scss +++ b/src/utilities/borders.scss @@ -2,9 +2,6 @@ // stylelint-disable primer/selector-no-utility // stylelint-disable block-opening-brace-space-before, comment-empty-line-before -/* Add a gray border on all edges */ -.border { border: $border !important; } - /* Add a gray border to the left and right */ .border-x { border-right: $border !important; From d4a445ea0b4ba66d7190f95e31251ff8e933542b Mon Sep 17 00:00:00 2001 From: simurai Date: Mon, 17 Jun 2019 09:44:08 +0900 Subject: [PATCH 2/2] Move .border-dashed Below responsive variants --- src/utilities/borders.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utilities/borders.scss b/src/utilities/borders.scss index 8a55aef6..e71ce8ef 100644 --- a/src/utilities/borders.scss +++ b/src/utilities/borders.scss @@ -14,11 +14,6 @@ border-bottom: $border !important; } -/* Change the border style to dashed, in conjunction with another utility */ -.border-dashed { - border-style: dashed !important; -} - $edges: ( top: (top-left, top-right), right: (top-right, bottom-right), @@ -85,6 +80,11 @@ $edges: ( /* Add a 50% border-radius to make something into a circle */ .circle { border-radius: 50% !important; } +/* Change the border style to dashed, in conjunction with another utility */ +.border-dashed { + border-style: dashed !important; +} + /* Use with .border to turn the border blue */ .border-blue { border-color: $border-blue !important; } /* Use with .border to turn the border blue-light */