From e68b93caf74eb7ec0a13cd74dd69198d952e2c82 Mon Sep 17 00:00:00 2001 From: Gaurav Mahlawat <gauravmahlawat@Gauravs-MacBook-Pro.local> Date: Mon, 20 Feb 2023 12:59:59 +0530 Subject: [PATCH] Added variable and fixed margin property --- core/themes/claro/css/components/tablesort-indicator.css | 4 ++-- core/themes/claro/css/components/tablesort-indicator.pcss.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/themes/claro/css/components/tablesort-indicator.css b/core/themes/claro/css/components/tablesort-indicator.css index 88f971423465..aab5fdbfd532 100644 --- a/core/themes/claro/css/components/tablesort-indicator.css +++ b/core/themes/claro/css/components/tablesort-indicator.css @@ -15,8 +15,8 @@ top: 50%; inset-inline-end: 1rem; width: 0.875rem; /* 14px */ - height: 1rem; /* 16px */ - margin-top: -0.5rem; /* -8px */ + height: var(--space-m); + margin-block-start: -0.5rem; /* -8px */ opacity: 0.5; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath d='M1.75.25v1.5h10.5V.25zm0 3v1.5h7.5v-1.5zm0 3v1.5h4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e"); background-repeat: no-repeat; diff --git a/core/themes/claro/css/components/tablesort-indicator.pcss.css b/core/themes/claro/css/components/tablesort-indicator.pcss.css index 6b3a7dcc58bf..a818d076f8bd 100644 --- a/core/themes/claro/css/components/tablesort-indicator.pcss.css +++ b/core/themes/claro/css/components/tablesort-indicator.pcss.css @@ -8,8 +8,8 @@ top: 50%; inset-inline-end: 1rem; width: 0.875rem; /* 14px */ - height: 1rem; /* 16px */ - margin-top: -0.5rem; /* -8px */ + height: var(--space-m); + margin-block-start: -0.5rem; /* -8px */ opacity: 0.5; background-image: url(../../images/icons/000f33/sort--inactive--ltr.svg); background-repeat: no-repeat; -- GitLab