Merged in fix/STAY-38 (pull request #3097)
fix: handle text overflow on room title in My Stay reference card * fix: handle text overflow on room title in My Stay reference card Approved-by: Erik Tiekstra
This commit is contained in:
@@ -38,7 +38,7 @@ export default function Room() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>{room}</p>
|
<p className={styles.title}>{room}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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 {
|
||||||
@@ -13,3 +14,9 @@
|
|||||||
.textDefault {
|
.textDefault {
|
||||||
color: var(--Text-Default);
|
color: var(--Text-Default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user