Merge pull request #24030 from overleaf/td-bs5-remove-font-awesome

Remove Font Awesome in BS5

GitOrigin-RevId: 3ee9b136ac9ecda57ba9985d1da7d7a7e6b275e6
This commit is contained in:
Tim Down
2025-07-18 08:05:06 +00:00
committed by Copybot
parent 5669a7d1c8
commit 9c16a85295
55 changed files with 192 additions and 367 deletions
@@ -1,5 +1,6 @@
import classNames from 'classnames'
import OLTooltip from '@/features/ui/components/ol/ol-tooltip'
import MaterialIcon from '@/shared/components/material-icon'
type HorizontalTogglerType = 'west' | 'east'
@@ -42,7 +43,16 @@ export function HorizontalToggler({
aria-label={description}
title=""
onClick={() => setIsOpen(!isOpen)}
/>
>
<MaterialIcon
type={
(togglerType === 'west' && isOpen) ||
(togglerType === 'east' && !isOpen)
? 'chevron_left'
: 'chevron_right'
}
/>
</button>
</OLTooltip>
)
}