Skip to content

Commit f834cc4

Browse files
lukasdotcombackportbot[bot]
authored andcommitted
fix(Dashboard): hides overflow for text
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> [skip ci]
1 parent 8db0177 commit f834cc4

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/components/Dashboard.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ export default {
5656
#recommendations {
5757
::v-deep .recommendation {
5858
max-width: 100%;
59-
padding: 8px 0;
59+
padding: 8px;
6060
margin-right: 0;
6161
border-radius: var(--border-radius-large);
6262
6363
.thumbnail {
64-
margin-left: 8px;
6564
width: 44px;
6665
height: 44px;
6766
}

src/components/RecommendedFile.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default {
151151
align-items: center;
152152
flex-grow: 1;
153153
min-width: 250px;
154-
padding: 5px 0;
154+
padding: 5px;
155155
margin-right: 12px;
156156
border-radius: var(--border-radius);
157157
@@ -167,7 +167,6 @@ export default {
167167
168168
.thumbnail {
169169
margin-right: 9px;
170-
margin-left: 10px;
171170
width: 32px;
172171
height: 32px;
173172
background-size: contain;
@@ -185,14 +184,17 @@ export default {
185184
}
186185
187186
.details {
187+
min-width: 0;
188+
188189
.file-name {
189190
white-space: nowrap;
191+
min-width: 0;
192+
text-overflow: ellipsis;
193+
overflow: hidden;
190194
191195
.name {
192196
max-width: 170px;
193197
color: var(--color-main-text);
194-
text-overflow: ellipsis;
195-
overflow: hidden;
196198
}
197199
198200
.extension {

0 commit comments

Comments
 (0)