Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
feat(tooltip): Adjusting tooltip z-index so tooltip appears above oth…
Browse files Browse the repository at this point in the history
…er content on the page.

PiperOrigin-RevId: 323433839
  • Loading branch information
sayris authored and copybara-github committed Jul 27, 2020
1 parent b82d069 commit c285200
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mdc-tooltip/_tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ $_padding-y: 8px;
$_max-width: 120px;
$_min-width: 40px;
$_label-type-scale: caption;
$_z-index: 2;

$enter-duration: 150ms;
$exit-duration: 75ms;
Expand All @@ -55,6 +56,7 @@ $exit-duration: 75ms;
@include feature-targeting.targets($feat-structure) {
position: fixed;
display: none;
z-index: $_z-index;
}
}

Expand Down

0 comments on commit c285200

Please sign in to comment.