Skip to content

Commit

Permalink
Dashboard: fix glitch with long names
Browse files Browse the repository at this point in the history
The file browser wasn't handling text overflow properly - the expand
button was being shadowed by the directory name. This commit changes the
layout of directory items so it behaves as a grid where the button and
the text behave as columns within its row.

This connects to archivematica/Issues#53.
  • Loading branch information
sevein committed Oct 10, 2018
1 parent eaef190 commit 4d80f32
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/dashboard/src/media/css/directory_picker.css
Expand Up @@ -53,3 +53,16 @@
.backbone-file-explorer-idle {
background-image: none;
}

/* Layout of directory items using CSS Grid */

.backbone-file-explorer-directory {
display: -ms-grid;
display: grid;
-ms-grid-columns: 30px 1fr;
grid-template-columns: 30px 1fr;
}

.backbone-file-explorer-directory > span {
height: 100%;
}

0 comments on commit 4d80f32

Please sign in to comment.