From bd4efc18eefaf54fde6941a15373100b7621db48 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sun, 6 Oct 2024 12:34:27 +0330 Subject: [PATCH] Define a variable to reuse a value Change-Id: I2d9c62f5920bf82f564bd01a38a213e7a95b0205 --- modules/ext.categoryTree.styles.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/ext.categoryTree.styles.less b/modules/ext.categoryTree.styles.less index dfcfae55..554aa48d 100644 --- a/modules/ext.categoryTree.styles.less +++ b/modules/ext.categoryTree.styles.less @@ -84,9 +84,11 @@ .user-select( none ); } +@arrow-size: 14px; + .expandable-arrow( @param-color ) { .cdx-mixin-css-icon( - @cdx-icon-down-triangle, @param-color, 14px, + @cdx-icon-down-triangle, @param-color, @arrow-size, false, center, text-top ); } @@ -132,7 +134,7 @@ } .CategoryTreePageBullet { - margin-left: 14px; + width: @arrow-size; } .CategoryTreeLabelPage {