Skip to content

Commit

Permalink
fix prettier issues with whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
poojagunturu96 committed Jul 19, 2024
1 parent e1c7dd3 commit 72aefcb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/scss/components/_card-carousel-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ $spotlight-item-breakpoint: 'xs';

.card-carousel-item__text {
font-size: $typescale-3;

.card-carousel-item__side--front & {
color: $white;
}
Expand Down
9 changes: 3 additions & 6 deletions src/scss/mixins/_breakpoints.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
@mixin breakpoint($breakpoint) {
@if $breakpoint == '' {
@content;
}
@else {
} @else {
$value: map-get($breakpoints, $breakpoint);

// If the key exists in the map
Expand All @@ -13,11 +12,9 @@
@media only screen and (min-width: $value) {
@content;
}
}
@else {
} @else {
// If the key doesn't exist in the map
@warn
'Unfortunately, no value could be retrieved from `#{$breakpoint}`. '
@warn 'Unfortunately, no value could be retrieved from `#{$breakpoint}`. '
+ 'Please make sure it is defined in `$breakpoints` map.';
}
}
Expand Down
6 changes: 4 additions & 2 deletions src/scss/scope/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
}

a:not([href*='middlebury.edu']):not([href^='#']):not([href^='/']):not(
[href^='mailto:']):not([href*='drive.google.com']):not([href*='docs.google.com']):not(
[href*='.pdf']):not([href*='middleburycollege-my.sharepoint.com']):not([name]) {
[href^='mailto:']
):not([href*='drive.google.com']):not([href*='docs.google.com']):not(
[href*='.pdf']
):not([href*='middleburycollege-my.sharepoint.com']):not([name]) {
@include link-external;
}

Expand Down
2 changes: 1 addition & 1 deletion src/scss/utils/_hover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.hover-fadeout {
transition: opacity 0.2s;

&:hover {
opacity: 0.5;
}
Expand Down

0 comments on commit 72aefcb

Please sign in to comment.