From 3c63c1ac3ec498ff794ff36d495c09f5cde33cec Mon Sep 17 00:00:00 2001
From: David <33458145+davidmcpowell@users.noreply.github.com>
Date: Wed, 9 Jul 2025 15:01:57 +0100
Subject: [PATCH] Merge pull request #26971 from
overleaf/dp-settings-button-active-state
Avoid using OLIconButton to remove active background on rail settings button
GitOrigin-RevId: c0a6c47e258ff350e82dfc465f9d37123411e446
---
.../js/features/ide-redesign/components/rail.tsx | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/services/web/frontend/js/features/ide-redesign/components/rail.tsx b/services/web/frontend/js/features/ide-redesign/components/rail.tsx
index 470d3c8ccd..1625e56b0d 100644
--- a/services/web/frontend/js/features/ide-redesign/components/rail.tsx
+++ b/services/web/frontend/js/features/ide-redesign/components/rail.tsx
@@ -31,7 +31,6 @@ import { RailHelpContactUsModal } from './help/contact-us'
import { HistorySidebar } from '@/features/ide-react/components/history-sidebar'
import DictionarySettingsModal from './settings/editor-settings/dictionary-settings-modal'
import OLTooltip from '@/features/ui/components/ol/ol-tooltip'
-import OLIconButton from '@/features/ui/components/ol/ol-icon-button'
import { useChatContext } from '@/features/chat/context/chat-context'
import { useEditorAnalytics } from '@/shared/hooks/use-editor-analytics'
import {
@@ -391,13 +390,17 @@ const RailActionElement = ({ action }: { action: RailAction }) => {
description={action.title}
overlayProps={{ delay: 0, placement: 'right' }}
>
-
+ aria-label={action.title}
+ >
+
+
)
}