diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index 45a86e33e..05079605f 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -1,6 +1,7 @@ .table { margin-bottom: $gutter; width: 100%; + table-layout: fixed; } .table-heading { @@ -16,11 +17,14 @@ .table-row { th { + display: table-cell; width: 52.5%; font-weight: normal; - a { - max-height: 1.25em; + .hint { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } } } @@ -101,6 +105,10 @@ .table-field-heading { + &-first { + width: 52.5%; + } + &:last-child { padding-right: 0; } diff --git a/app/assets/stylesheets/views/dashboard.scss b/app/assets/stylesheets/views/dashboard.scss index 04c2cc622..6069a8f20 100644 --- a/app/assets/stylesheets/views/dashboard.scss +++ b/app/assets/stylesheets/views/dashboard.scss @@ -58,6 +58,10 @@ &-filename { @include bold-19; + display: block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } &-hint {