Fix RTL problem in post card #956

Merged
KitaitiMakoto merged 3 commits from :main into main 2 years ago
https://git.joinplu.me/Plume/Plume/issues/950
mskf1383 added 2 commits 2 years ago
Owner

Thank you!

But, according to MDN's compatibility table, browsers other than Firefox don't support inline-end for float. Can you use portable property? Changes for appearance are accepted.

Thank you! But, according to [MDN's compatibility table](https://developer.mozilla.org/en-US/docs/Web/CSS/float), browsers other than Firefox don't support `inline-end` for `float`. Can you use portable property? Changes for appearance are accepted.
mskf1383 added 1 commit 2 years ago
Poster

I made some changes:

.card h3 {
    flex-grow: 1;
    margin: 0;
    font-family: "Vazir","Playfair Display",serif;
    font-size: 1.75em;
    font-weight: normal;
    line-height: 1.75;
    display: inline-block;
    position: absolute; /* New */
}
.card .controls {
    float: inline-end; /* removed */
    text-align: end /* New */
}

It's compatible with all browsers, except IE: https://developer.mozilla.org/en-US/docs/Web/CSS/text-align

I made some changes: ```css .card h3 { flex-grow: 1; margin: 0; font-family: "Vazir","Playfair Display",serif; font-size: 1.75em; font-weight: normal; line-height: 1.75; display: inline-block; position: absolute; /* New */ } .card .controls { float: inline-end; /* removed */ text-align: end /* New */ } ``` It's compatible with all browsers, except IE: https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
KitaitiMakoto approved these changes 2 years ago
KitaitiMakoto left a comment
Owner

Seems good! Thank you.

Seems good! Thank you.
KitaitiMakoto merged commit 82ebdc023c into main 2 years ago

Reviewers

KitaitiMakoto approved these changes 2 years ago
The pull request has been merged as 82ebdc023c.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#956
Loading…
There is no content yet.