Skip to content

Commit

Permalink
Merge pull request #1321 from appwrite/fix/web-article-content-header…
Browse files Browse the repository at this point in the history
…-margin-alignment-fix

Set correct alignment and margin
  • Loading branch information
TorstenDittmann authored Sep 9, 2024
2 parents de3d9ad + 0d6afef commit 1a246bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/7-components/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
&-code-snippet { margin-block-end:pxToRem(32); }
}
&-header {
position:relative; display:flex; flex-wrap:wrap; align-items:start; gap:pxToRem(16);
position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:pxToRem(8);
.#{$p}-numeric-badge {
@media #{$break2open} { position:absolute; inset-block-start:pxToRem(2); transform:translateX(calc(calc(-100% - pxToRem(16) ) * 1 )); }
}
Expand Down

0 comments on commit 1a246bc

Please sign in to comment.