Skip to content

Commit c79a3c7

Browse files
authored
[ENG-3736] Fix bugs: project link overflow text (#1477)
* added formatting for text overflow. ideal implementation would be to have the main column properly reposition, this is more a hotfix and recommend more testing for ideal result. * Matching styles for 70vw Matching styles Co-authored-by: Ashley Robinson <ashley@cos.io>
1 parent 4b604ae commit c79a3c7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

app/guid-file/-components/file-detail-layout/styles.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66

77
.MainColumn {
88
flex-grow: 3;
9+
10+
h3 {
11+
text-overflow: ellipsis;
12+
overflow: hidden;
13+
white-space: nowrap;
14+
max-width: 70vw;
15+
}
916
}
1017

1118
.RightColumn {

app/guid-file/styles.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
padding: 0 20px 20px;
2020
}
2121

22+
.FlexContainerRow > h2 {
23+
text-overflow: ellipsis;
24+
overflow: hidden;
25+
white-space: nowrap;
26+
max-width: 70vw;
27+
}
28+
2229
.ProjectLink {
2330
margin: 20px;
2431
}

0 commit comments

Comments
 (0)