Merged in fix/STAY-132 (pull request #3283)
fix: align guarantee info button and text to the right regardless of breakpoint * fix: align guarantee info button and text to the right regardless of breakpoint Approved-by: Erik Tiekstra
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
color: var(--Icon-Interactive-Default);
|
color: var(--Icon-Interactive-Default);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
vertical-align: bottom;
|
||||||
|
margin-right: var(--Space-x05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.closeButton {
|
.closeButton {
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
gap: var(--Space-x1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
@@ -15,7 +16,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.guaranteeInfo {
|
.guaranteeInfo {
|
||||||
display: flex;
|
text-align: right;
|
||||||
align-items: flex-start;
|
|
||||||
gap: var(--Space-x05);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,17 +36,15 @@ export default function GuaranteeInfo() {
|
|||||||
</p>
|
</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.guaranteeInfo}>
|
|
||||||
<GuaranteeInfoModal />
|
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>
|
<span className={styles.guaranteeInfo}>
|
||||||
|
<GuaranteeInfoModal />
|
||||||
{intl.formatMessage({
|
{intl.formatMessage({
|
||||||
id: "myStay.roomHeldAfter18",
|
id: "myStay.roomHeldAfter18",
|
||||||
defaultMessage: "Room held after 18:00",
|
defaultMessage: "Room held after 18:00",
|
||||||
})}
|
})}
|
||||||
</p>
|
</span>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user