🐛 fix long text overflowing signin button on setup screen (#635)

closes https://github.com/TryGhost/Ghost/issues/8029
- quick fix - works for the setup button but won't work for buttons that include spinners because the `display: flex` breaks the `text-overflow: ellipsis` style, this should be fine as I'm not aware of any other buttons where the text is user-defined
This commit is contained in:
Kevin Ansfield 2017-04-11 13:09:09 +01:00 committed by Hannah Wolfe
parent 6d763a7901
commit 77fb6cbee6

View File

@ -21,6 +21,7 @@
/* ALL buttons must have a span for content */
.gh-btn span {
display: block;
overflow: hidden;
padding: 0 12px;
height: 33px;
font-size: 1.3rem;
@ -29,6 +30,8 @@
text-align: center;
letter-spacing: 0.2px;
border-radius: 4px;
white-space: nowrap;
text-overflow: ellipsis;
}
.gh-btn:hover {