From e847f520c13a8567b0df94f14531533eb2c0312c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Thu, 21 Jul 2022 21:05:51 +0300 Subject: [PATCH] Fix table-item margin typo --- resources/css/views/index.scss | 64 +++++++++++++++++----------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/resources/css/views/index.scss b/resources/css/views/index.scss index 5b2c625..a650cd9 100644 --- a/resources/css/views/index.scss +++ b/resources/css/views/index.scss @@ -70,7 +70,7 @@ $social-button_inner_margin: 10px; } @include mixins.mx_index_brands_fix2 { - margin-right: math.div(variables.$px_horizontalPadding2, 10); + margin-right: math.div(variables.$px_horizontalPadding3, 10); width: $table-item_img_width_s; } @@ -80,6 +80,37 @@ $social-button_inner_margin: 10px; } } + .vertical-separator { + // vertical-separator makes an empty div behave as a separator which aligned vertically + height: $table-item_img_width + 20px; + border: solid 1px variables.$clr_brand; + margin-right: 9 * math.div(variables.$px_horizontalPadding, 10); + + @include mixins.mx_index_brands_fix { + margin-right: 9 * math.div(variables.$px_horizontalPadding2, 10); + } + + @include mixins.mx_index_brands_fix2 { + margin-right: 9 * math.div(variables.$px_horizontalPadding3, 10); + } + + @include mixins.mx_mobile { + display: none; + } + } + + .horizontal-separator { + // horizontal-separator makes an empty div behave as a separator which aligned horizontally + display: none; + width: $table-item_img_width + 20px; + border: solid 1px variables.$clr_brand; + margin: 0 0 18px 0; + + @include mixins.mx_mobile { + display: block; + } + } + &:first-of-type { margin-top: 0; } @@ -89,37 +120,6 @@ $social-button_inner_margin: 10px; } } - .vertical-separator { - // vertical-separator makes an empty div behave as a separator which aligned vertically - height: $table-item_img_width + 20px; - border: solid 1px variables.$clr_brand; - margin-right: 9 * math.div(variables.$px_horizontalPadding, 10); - - @include mixins.mx_index_brands_fix { - margin-right: 9 * math.div(variables.$px_horizontalPadding2, 10); - } - - @include mixins.mx_index_brands_fix2 { - margin-right: 9 * math.div(variables.$px_horizontalPadding3, 10); - } - - @include mixins.mx_mobile { - display: none; - } - } - - .horizontal-separator { - // horizontal-separator makes an empty div behave as a separator which aligned horizontally - display: none; - width: $table-item_img_width + 20px; - border: solid 1px variables.$clr_brand; - margin: 0 0 18px 0; - - @include mixins.mx_mobile { - display: block; - } - } - .reverse { // reverse is a property given to .table-item elements // it contains styling for img and .vertical-separator elements contained under