From a6410ccab2c3dba60a05bf11347eaa64034d44b9 Mon Sep 17 00:00:00 2001
From: Chris DeLuca <6220-bronzehedwick@users.noreply.drupalcode.org>
Date: Mon, 1 Apr 2024 16:55:10 +0000
Subject: [PATCH] Issue #3437395: Remove horizontal arrow animation

---
 css/components/toolbar-button.css      | 12 ------------
 css/components/toolbar-button.pcss.css | 18 ------------------
 2 files changed, 30 deletions(-)

diff --git a/css/components/toolbar-button.css b/css/components/toolbar-button.css
index 6127fbcd..23dcddfe 100644
--- a/css/components/toolbar-button.css
+++ b/css/components/toolbar-button.css
@@ -155,18 +155,6 @@
   mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3e  %3cpath d='M5.7653 4.2653L3.2653 6.7653C3.19485 6.83575 3.0993 6.87532 2.99967 6.87532C2.90005 6.87532 2.8045 6.83575 2.73405 6.7653C2.6636 6.69485 2.62402 6.5993 2.62402 6.49967C2.62402 6.40005 2.6636 6.3045 2.73405 6.23405L4.96874 3.99999L2.73467 1.7653C2.69979 1.73042 2.67212 1.68901 2.65324 1.64343C2.63436 1.59785 2.62465 1.54901 2.62465 1.49967C2.62465 1.45034 2.63436 1.40149 2.65324 1.35592C2.67212 1.31034 2.69979 1.26893 2.73467 1.23405C2.76956 1.19917 2.81097 1.1715 2.85654 1.15262C2.90212 1.13374 2.95097 1.12402 3.0003 1.12402C3.04963 1.12402 3.09848 1.13374 3.14405 1.15262C3.18963 1.1715 3.23104 1.19917 3.26592 1.23405L5.76592 3.73405C5.80084 3.76893 5.82853 3.81036 5.84741 3.85596C5.86628 3.90157 5.87597 3.95045 5.87591 3.9998C5.87585 4.04916 5.86605 4.09802 5.84707 4.14358C5.82809 4.18914 5.8003 4.2305 5.7653 4.2653Z'/%3e%3c/svg%3e");
 }
 
-[dir="rtl"] .toolbar-button--expand--side::after {
-  transform: rotate(180deg);
-}
-
-.toolbar-button--expand--side[aria-expanded="true"]::after {
-  transform: rotate(180deg);
-}
-
-[dir="rtl"] .toolbar-button--expand--side[aria-expanded="true"]::after {
-  transform: none;
-}
-
 .toolbar-button--expand--down::after {
   transform: rotate(90deg);
 }
diff --git a/css/components/toolbar-button.pcss.css b/css/components/toolbar-button.pcss.css
index dc12c6d3..9a9609f9 100644
--- a/css/components/toolbar-button.pcss.css
+++ b/css/components/toolbar-button.pcss.css
@@ -138,24 +138,6 @@
   }
 }
 
-.toolbar-button--expand--side {
-  &::after {
-    [dir='rtl'] & {
-      transform: rotate(180deg);
-    }
-  }
-
-  &[aria-expanded='true'] {
-    &::after {
-      transform: rotate(180deg);
-
-      [dir='rtl'] & {
-        transform: none;
-      }
-    }
-  }
-}
-
 .toolbar-button--expand--down {
   &::after {
     transform: rotate(90deg);
-- 
GitLab