mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-01 08:43:30 +02:00
Reorder responsive size declrations in sass
This commit is contained in:
parent
1c426c4a9b
commit
e3b6c8305d
1 changed files with 28 additions and 30 deletions
|
@ -247,35 +247,6 @@ section.dashboard {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.dotgov-table {
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
a {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
color: color('primary');
|
|
||||||
|
|
||||||
&:visited {
|
|
||||||
color: color('primary');
|
|
||||||
}
|
|
||||||
|
|
||||||
.usa-icon {
|
|
||||||
// align icon with x height
|
|
||||||
margin-top: units(0.5);
|
|
||||||
margin-right: units(0.5);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
th[data-sortable]:not([aria-sort]) .usa-table__header__button {
|
|
||||||
right: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
tbody th {
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.dotgov-table--stacked {
|
.dotgov-table--stacked {
|
||||||
td, th {
|
td, th {
|
||||||
padding: units(1) units(2) units(2px) 0;
|
padding: units(1) units(2) units(2px) 0;
|
||||||
|
@ -303,9 +274,36 @@ section.dashboard {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include at-media(mobile-lg) {
|
.dotgov-table {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
color: color('primary');
|
||||||
|
|
||||||
|
&:visited {
|
||||||
|
color: color('primary');
|
||||||
|
}
|
||||||
|
|
||||||
|
.usa-icon {
|
||||||
|
// align icon with x height
|
||||||
|
margin-top: units(0.5);
|
||||||
|
margin-right: units(0.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
th[data-sortable]:not([aria-sort]) .usa-table__header__button {
|
||||||
|
right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody th {
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@include at-media(mobile-lg) {
|
||||||
|
|
||||||
.dotgov-table {
|
|
||||||
margin-top: units(1);
|
margin-top: units(1);
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue