Skip to content

Commit

Permalink
Change media query
Browse files Browse the repository at this point in the history
Also fixed a typo and lint warning
  • Loading branch information
rfultz committed Sep 18, 2019
1 parent 33057ad commit f6743fc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions fec/fec/static/scss/components/_fec-org-chart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $orgChart_lineSolidDark: thin solid $orgChart_colorStandard;
transition: border-color .1s;

&:hover {
borgChart_order-color: $colorGreyHover;
border-color: $orgChart_colorGreyHover;
transition: border-color .25s;
}
&:not([href*="/"]) {
Expand Down Expand Up @@ -255,8 +255,12 @@ $orgChart_lineSolidDark: thin solid $orgChart_colorStandard;
}
}


@media (min-width: 768px) {
// With the current page template (with the side nav),
// $med (640px) is too small but $lg (860px) is way too large.
// 768px would be ideal.
// Until we get a full-width template, this will have to do.
// TODO - When we get the full-width template, remove these comments and adjust the media query properly
@include media($med) {
#fec-orgchart {
display: grid;
grid-template-areas:
Expand Down Expand Up @@ -586,4 +590,4 @@ $orgChart_lineSolidDark: thin solid $orgChart_colorStandard;
</ul>
</li><!-- /team -->
</ul>
*/
*/

0 comments on commit f6743fc

Please sign in to comment.