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:
parent
8796f257d4
commit
a1621d65a4
1 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue