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; }