Skip to content

Commit

Permalink
Details popup now has proper RTL layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Feb 28, 2024
1 parent 1d57a3c commit 26b6934
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/components/KimaPopup/SelectedCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,15 @@
padding: 14px 14px 14px 20px;
font-weight: 500;
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
}

.kima-selected-card footer section.details .chevron {
transform: rotateZ(180deg);
}

.kima-selected-card footer section.details svg {
font-size: 24px;
vertical-align: bottom;
Expand All @@ -188,7 +193,7 @@
border-radius: 0 0 6px 6px;
border-bottom:10px solid transparent;
display: flex;
justify-content: flex-end;
justify-content: flex-start;
}

.kima-selected-card footer section.close button.close {
Expand Down
2 changes: 1 addition & 1 deletion src/components/KimaPopup/SelectedCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const SelectedCard = props => {
<a href={id} target="_blank">
<section className="details">
<span>פרטים נוספים</span>
<span>
<span className="chevron">
<HiChevronRight />
</span>
</section>
Expand Down
6 changes: 5 additions & 1 deletion src/peripleo/controls/Info/InfoControl.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@
right: auto;
}


.p6o-info-modal-close.mobile {
right: 10px;
}

.rtl .p6o-info-modal-close.mobile {
left: 10px;
right: auto;
}

.p6o-info-modal-main {
width: 90%;
max-height: calc(100% - 140px);
Expand Down

0 comments on commit 26b6934

Please sign in to comment.