mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 17:28:31 +02:00
Disable pointer events on svg
This commit is contained in:
parent
6572ee8d0c
commit
4de7804247
2 changed files with 7 additions and 1 deletions
|
@ -135,3 +135,9 @@ abbr[title] {
|
|||
max-width: 350px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
// USWDS has weird interactions with SVGs regarding tooltips,
|
||||
// and other components. In this event, we need to disable pointer interactions.
|
||||
.disable-pointer-events {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
title="{{domain.get_state_help_text}}"
|
||||
focusable="true"
|
||||
>
|
||||
<use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
|
||||
<use class="disable-pointer-events" xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
|
||||
</svg>
|
||||
</span>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue