0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Changed alignment of toggles

refs https://github.com/TryGhost/Team/issues/1482
This commit is contained in:
Djordje Vlaisavljevic 2022-04-26 22:58:14 +02:00
parent c2444a2879
commit 13416b8322
2 changed files with 10 additions and 2 deletions

View file

@ -579,7 +579,6 @@ const FrameStyles = `
.gh-portal-list-detail {
flex-grow: 1;
margin-right: 24px;
}
.gh-portal-list-detail h3 {
@ -606,6 +605,15 @@ const FrameStyles = `
font-size: 1.6rem;
}
.gh-portal-list-toggle-wrapper {
align-items: flex-start !important;
justify-content: space-between;
}
.gh-portal-list-toggle-wrapper .gh-portal-list-detail {
padding: 4px 24px 4px 0px;
}
.gh-portal-list-detail .old-price {
text-decoration: line-through;
}

View file

@ -25,7 +25,7 @@ function NewsletterPrefSection({newsletter, subscribedNewsletters, setSubscribed
return d.id === newsletter?.id;
});
return (
<section>
<section className='gh-portal-list-toggle-wrapper'>
<div className='gh-portal-list-detail'>
<h3>{newsletter.name}</h3>
<p>{newsletter.description}</p>