Skip to content

Commit bb7c952

Browse files
authored
fix(ui5-upload-collection-item): fix title behaviour on small screens (#2699)
1 parent cf8f4de commit bb7c952

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/fiori/src/themes/UploadCollectionItem.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,29 @@
4141
}
4242

4343
.ui5-uci-content-and-progress {
44+
max-width: 100%;
45+
min-width: 0;
4446
display: flex;
4547
flex: 1 1 auto;
4648
}
4749

4850
.ui5-uci-content {
4951
flex: 1 1 auto;
5052
margin-right: .5rem;
53+
width: 100%;
5154
min-width: 0; /* fixes chrome overflow issue */
5255
}
5356

5457
.ui5-uci-file-name {
58+
width: 100%;
5559
display: block;
5660
font-family: "72override", var(--sapFontFamily);
5761
font-size: var(--sapFontLargeSize);
5862
color: var(--sapTextColor);
5963
margin-bottom: 0.25rem;
60-
white-space: pre-wrap;
64+
white-space: nowrap;
65+
text-overflow: ellipsis;
66+
overflow: hidden;
6167
}
6268

6369
[ui5-link].ui5-uci-file-name {

packages/main/src/themes/Link.css

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
}
5050

5151
.ui5-link-root {
52+
width: 100%;
5253
display: inline-block;
5354
position: relative;
5455
white-space: nowrap;

0 commit comments

Comments
 (0)