Skip to content

Commit 676086f

Browse files
committed
fix: adjust RTL styles
- adjust margins for post-meta and post-tags - enhance page category and tag structure - fix category trigger rotate - adjust margin for .pin class
1 parent 1947a37 commit 676086f

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

_sass/base/_rtl.scss

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ html[dir='rtl'] {
139139
}
140140
}
141141
}
142+
142143
@include bp.xl {
143144
width: 45%;
144145

@@ -177,10 +178,15 @@ html[dir='rtl'] {
177178
margin-right: 0 !important;
178179
}
179180

181+
.pin {
182+
margin-left: 0 !important;
183+
}
184+
180185
i {
181186
&:first-child {
182187
margin-right: 0 !important;
183188
}
189+
184190
&:not(:first-child) {
185191
margin-right: 1.5rem !important;
186192

@@ -246,6 +252,11 @@ html[dir='rtl'] {
246252
}
247253

248254
.post-tail-wrapper {
255+
.post-meta i,
256+
.post-tags i {
257+
margin-right: 0 !important;
258+
}
259+
249260
.share-wrapper {
250261
.share-icons {
251262
> * {
@@ -272,9 +283,10 @@ html[dir='rtl'] {
272283
}
273284
}
274285

275-
/* Page Category */
276-
#page-category {
277-
ul li {
286+
/* Page Category, Page Tag */
287+
#page-category,
288+
#page-tag {
289+
ul > li {
278290
&::before {
279291
margin-left: 0.5rem;
280292
margin-right: 0;
@@ -330,7 +342,7 @@ html[dir='rtl'] {
330342
/* Categories */
331343
.category-trigger {
332344
i {
333-
transform: rotate(180deg);
345+
transition: transform 300ms ease;
334346
}
335347
}
336348

0 commit comments

Comments
 (0)