mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #21815 from overleaf/td-bs5-references-search
[BS5] Migrate references search modal GitOrigin-RevId: 65496840e32af09e5ae7351aa1789ebf5cac5083
This commit is contained in:
@@ -3,6 +3,7 @@ import classnames from 'classnames'
|
||||
import OLTooltip from '@/features/ui/components/ol/ol-tooltip'
|
||||
import MaterialIcon from '@/shared/components/material-icon'
|
||||
import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
|
||||
import { bsVersion } from '@/features/utils/bootstrap-5'
|
||||
|
||||
type TooltipProps = {
|
||||
id: string
|
||||
@@ -30,7 +31,9 @@ const BetaBadge: FC<{
|
||||
}}
|
||||
>
|
||||
<a href={url} target="_blank" rel="noopener noreferrer">
|
||||
<span className="sr-only">{tooltip.text}</span>
|
||||
<span className={bsVersion({ bs5: 'visually-hidden', bs3: 'sr-only' })}>
|
||||
{tooltip.text}
|
||||
</span>
|
||||
<BootstrapVersionSwitcher
|
||||
bs3={<span className={classnames('badge', badgeClass)} />}
|
||||
bs5={
|
||||
|
||||
Reference in New Issue
Block a user