From a30cdc15d13d2bafb17ab1ba0644055e0a9d7523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Mon, 8 Aug 2022 16:49:51 +0300 Subject: [PATCH] Remove width styling for .table-item imgs --- resources/css/views/index.scss | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/resources/css/views/index.scss b/resources/css/views/index.scss index fcd1db6..9ee20e9 100644 --- a/resources/css/views/index.scss +++ b/resources/css/views/index.scss @@ -94,19 +94,20 @@ $social-button_inner_margin: 10px; display: inline-flex; flex-direction: row; + picture { + place-self: center; + } + img { align-self: center; margin-right: math.div(variables.$px_horizontalPadding, 10); - width: $table-item_img_width_l; @include mixins.mx_index_brands_fix { margin-right: math.div(variables.$px_horizontalPadding2, 10); - width: $table-item_img_width; } @include mixins.mx_index_brands_fix2 { margin-right: math.div(variables.$px_horizontalPadding3, 10); - width: $table-item_img_width_s; } @include mixins.mx_mobile { @@ -195,17 +196,6 @@ $social-button_inner_margin: 10px; .square { img { - height: $table-item_img_width_l; - width: auto; - - @include mixins.mx_index_brands_fix { - height: $table-item_img_width; - } - - @include mixins.mx_index_brands_fix2 { - height: $table-item_img_width_s; - } - @include mixins.mx_mobile { height: $table-item_img_width; }