Skip to content

Commit 2c6e513

Browse files
authored
Style long file names better (#1565)
1 parent ea5260a commit 2c6e513

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/osf-components/addon/components/file-browser/file-item/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
justify-content: space-between;
55
padding: 12px 0;
66
border-top: solid 1px $color-border-gray;
7-
height: 60px;
7+
min-height: 60px;
88

99
span {
1010
margin: 0 6px;
@@ -67,7 +67,7 @@
6767

6868
.FileList__item__options {
6969
display: flex;
70-
align-items: flex-end;
70+
align-items: center;
7171
flex: 1;
7272
}
7373

lib/osf-components/addon/components/file-browser/folder-item/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
justify-content: space-between;
55
padding: 12px 0;
66
border-top: solid 1px $color-border-gray;
7-
height: 60px;
7+
min-height: 60px;
88

99
span {
1010
margin: 0 6px;
@@ -61,7 +61,7 @@
6161

6262
.FileList__item__options {
6363
display: flex;
64-
align-items: flex-end;
64+
align-items: center;
6565
flex: 1;
6666
}
6767

0 commit comments

Comments
 (0)