mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
🐛 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:
parent
6d763a7901
commit
77fb6cbee6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user