Skip to content

Commit ce41d79

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 ce41d79

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

_sass/base/_rtl.scss

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ html[dir='rtl'] {
177177
margin-right: 0 !important;
178178
}
179179

180+
.pin {
181+
margin-left: 0 !important;
182+
}
183+
180184
i {
181185
&:first-child {
182186
margin-right: 0 !important;
@@ -246,6 +250,11 @@ html[dir='rtl'] {
246250
}
247251

248252
.post-tail-wrapper {
253+
.post-meta i,
254+
.post-tags i {
255+
margin-right: 0 !important;
256+
}
257+
249258
.share-wrapper {
250259
.share-icons {
251260
> * {
@@ -272,9 +281,10 @@ html[dir='rtl'] {
272281
}
273282
}
274283

275-
/* Page Category */
276-
#page-category {
277-
ul li {
284+
/* Page Category, Page Tag */
285+
#page-category,
286+
#page-tag {
287+
ul > li {
278288
&::before {
279289
margin-left: 0.5rem;
280290
margin-right: 0;
@@ -330,7 +340,7 @@ html[dir='rtl'] {
330340
/* Categories */
331341
.category-trigger {
332342
i {
333-
transform: rotate(180deg);
343+
transition: transform 300ms ease;
334344
}
335345
}
336346

0 commit comments

Comments
 (0)