0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Long theme names break themes table layout (#304)

closes #274
- Removed “white-space: nowrap” property to allow word breaks.
- Added “flex: 1” to “.theme-list-item-body” and
“.theme-list-item-aside”.
- Aligned links inside “.theme-list-item-aside” to right.
This commit is contained in:
Kenneth Ashley 2017-01-11 07:11:55 -06:00 committed by Kevin Ansfield
parent 8796f257d4
commit a1621d65a4

View file

@ -190,7 +190,6 @@
.theme-list-item-body .name {
display: inline-block;
color: var(--darkgrey);
white-space: nowrap;
font-weight: 400;
user-select: all;
}
@ -201,11 +200,17 @@
}
.theme-list-item-body {
flex: 1 1 auto;
flex: 1;
align-items: stretch;
line-height: 1;
}
.theme-list-item-aside {
flex: 1;
display: flex;
justify-content: flex-end;
}
.theme-list-action:last-child {
margin-right: 0;
}