Skip to content

Commit b22632c

Browse files
committed
remove some uses of @apply
1 parent 9c9f52c commit b22632c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

styles/global.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@ th {
389389
height: 50vh;
390390
position: relative;
391391
object-fit: cover;
392-
@apply border-b border-t border-type-color;
392+
border-color: var(--type-color);
393+
border-bottom-width: 1px;
394+
border-top-width: 1px;
393395
@media (min-width: $breakpoint-tablet) {
394396
left: calc(-1 * var(--spacing-lg));
395397
width: calc(100% + var(--spacing-lg) * 2);

styles/markdown.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
}
2525

2626
a.button-link {
27-
@apply mt-md min-w-[180px] md:min-w-[220px];
27+
margin-top: var(--spacing-md);
28+
min-width: 180px;
29+
@media (min-width: $breakpoint-tablet) {
30+
min-width: 220px;
31+
}
2832
color: var(--sidebar-type-color);
2933
&:hover {
3034
color: var(--sidebar-bg-color);

0 commit comments

Comments
 (0)