Skip to content

Commit ef04a4b

Browse files
committed
TCA-550 - move sizes for social share preview in a mixin
1 parent 12a1e4b commit ef04a4b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src-ts/lib/styles/mixins/_layout.mixins.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
width: 100%;
2323
}
2424

25+
@mixin socialPreviewImg {
26+
width: 1200px;
27+
height: 630px;
28+
}
29+
2530
@mixin scrollbar {
2631
// firefox's solution for "customizing" scrollbars
2732
& {

src-ts/tools/learn/course-certificate/certificate-view/CertificateView.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353

5454
&:global(.large-container) {
5555
aspect-ratio: unset;
56-
width: 1200px;
57-
height: 630px;
56+
@include socialPreviewImg;
5857
}
5958
}
6059

0 commit comments

Comments
 (0)