]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Merge pull request #762 from jsit/p-a-margin-outlook
authorJoe Workman <joe@workmanmail.com>
Tue, 22 Mar 2022 17:19:00 +0000 (10:19 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Mar 2022 17:19:00 +0000 (10:19 -0700)
Fix Outlook p margin bug, set margin to default on anchors inside p

1  2 
scss/components/_typography.scss

index f0dfac41bb9fa51fe46bb9d7b541b5b576adc625,4dad5830216c1399bf42cc45e384489175cfd461..1470a2be1d514834137908767a54dd629c89aa75
@@@ -294,30 -243,14 +294,35 @@@ p 
      line-height: $subheader-lineheight;
      color: $subheader-color;
    }
+   a { // To fix Outlook margin issue #421
+     margin: default;
+     Margin: default;
+   }
  }
  
 -small {
 +.text-xs {
 +  font-size: $global-font-size / ($font-scale * $font-scale);
 +}
 +
 +.text-sm {
 +  font-size: $global-font-size / $font-scale;
 +}
 +
 +.text-lg {
 +  font-size: $global-font-size * $font-scale;
 +}
 +
 +.text-xl {
 +  font-size: $global-font-size * ($font-scale * $font-scale);
 +}
 +
 +.text-xxl {
 +  font-size: $global-font-size * ($font-scale * $font-scale * $font-scale);
 +}
 +
 +small,
 +.small {
    font-size: $small-font-size;
    color: $small-font-color;
  }