fix(GUI): wrap long words in drivelist (#882)

Drives with long names or descriptions expand outside the drivelist,
this commit fixes that using CSS `word-break: break-all`.

Change-Type: patch
Changelog-Entry: Wrap drive names and descriptions in the drive selector widget.
This commit is contained in:
Benedict Aas 2016-11-18 17:28:10 +00:00 committed by Juan Cruz Viotti
parent 8d44c9b86c
commit 18799d4274
2 changed files with 15 additions and 2 deletions

View File

@ -6410,6 +6410,10 @@ body {
.component-drive-selector-body .list-group-item-footer {
margin-top: 8px; }
.component-drive-selector-body .list-group-item-heading,
.component-drive-selector-body .list-group-item-text {
word-break: break-all; }
/*
* Copyright 2016 resin.io
*

View File

@ -19,6 +19,15 @@
height: 320px;
}
.component-drive-selector-body .list-group-item-footer {
margin-top: 8px;
.component-drive-selector-body {
.list-group-item-footer {
margin-top: 8px;
}
.list-group-item-heading,
.list-group-item-text {
word-break: break-all;
}
}