mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 02:49:21 +02:00
Add styles for desktop and mobile
This commit is contained in:
parent
6dd846f8b6
commit
e27054cd25
1 changed files with 12 additions and 2 deletions
|
@ -131,11 +131,21 @@ abbr[title] {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only apply this custom wrapping to desktop
|
// Only apply this custom wrapping to desktop
|
||||||
@media (min-width: 768px) {
|
@include at-media(desktop) {
|
||||||
.usa-tooltip__body {
|
.usa-tooltip__body {
|
||||||
min-width: 320px;
|
min-width: 350px;
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.usa-tooltip__body {
|
||||||
|
min-width: 250px;
|
||||||
|
max-width: 250px;
|
||||||
|
white-space: normal;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// USWDS has weird interactions with SVGs regarding tooltips,
|
// USWDS has weird interactions with SVGs regarding tooltips,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue