0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed first and last child padding in edit mode

refs https://github.com/TryGhost/Team/issues/2067
This commit is contained in:
Djordje Vlaisavljevic 2022-10-20 16:11:44 +02:00
parent 71999a26b9
commit b4d16a7d3e

View file

@ -1080,6 +1080,20 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
text-decoration: none;
}
.gh-links-list-item-edit-mode {
padding: 1rem 0;
}
.gh-links-list-item-edit-mode:first-child {
padding: 1rem 0 1rem 0;
margin-top: -0.6rem;
}
.gh-links-list-item-edit-mode:last-child {
padding: 1rem 0 1rem 0;
margin-bottom: -0.6rem;
}
.gh-links-list-item .gh-links-list-clicks {
text-align: right;
padding-right: 2px;
@ -1107,7 +1121,7 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
.gh-links-list-item a {
margin: 0;
padding: 0 20px 0 0;
padding: 0;
color: var(--darkgrey);
text-overflow: ellipsis;
white-space: nowrap;
@ -1119,10 +1133,6 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
color: var(--midgrey-d2);
}
.gh-links-list-item-edit-mode {
padding: 1rem 0;
}
.gh-links-list-item-edit span {
padding: 0 10px;
height: 24px;