From 007d79dd03e2b88bfe2e693f6782c9f6afbecab4 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 5 Aug 2023 11:15:06 +0200 Subject: [PATCH] Fix coding styles --- shlink-web-component/src/utils/mixins/sticky-cell.scss | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/shlink-web-component/src/utils/mixins/sticky-cell.scss b/shlink-web-component/src/utils/mixins/sticky-cell.scss index 3ac08092..b006b83c 100644 --- a/shlink-web-component/src/utils/mixins/sticky-cell.scss +++ b/shlink-web-component/src/utils/mixins/sticky-cell.scss @@ -7,10 +7,7 @@ &:before { content: ''; position: absolute; - top: -1px; - left: 0; - bottom: -1px; - right: if($with-separators, -1px, 0); + inset: -1px if($with-separators, -1px, 0) -1px 0; background: var(--table-border-color); z-index: -2; } @@ -22,10 +19,7 @@ &:after { content: ''; position: absolute; - top: 0; - left: if($with-separators, 1px, 0); - bottom: 0; - right: 0; + inset: 0 0 0 if($with-separators, 1px, 0); background: var(--primary-color); z-index: -1; }