mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix styling
This commit is contained in:
@@ -138,13 +138,20 @@
|
|||||||
|
|
||||||
.editSubscriptionsLink {
|
.editSubscriptionsLink {
|
||||||
font-size: var(--body-font-size);
|
font-size: var(--body-font-size);
|
||||||
color: var(--link-color, #0000ee);
|
color: var(--post-link-text-color);
|
||||||
text-decoration: underline;
|
text-decoration: var(--post-content-link-text-decoration);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editSubscriptionsWrapper {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.editSubscriptionsLink:hover {
|
.editSubscriptionsLink:hover {
|
||||||
color: var(--link-hover-color, #551a8b);
|
color: var(--post-link-text-color-hover);
|
||||||
|
text-decoration: var(--post-content-link-text-decoration-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbarEditFooter {
|
.topbarEditFooter {
|
||||||
|
|||||||
@@ -100,8 +100,9 @@ const TopbarEditModal = () => {
|
|||||||
<div className={styles.section}>
|
<div className={styles.section}>
|
||||||
<div className={styles.checkboxItem}>
|
<div className={styles.checkboxItem}>
|
||||||
<input type='checkbox' id='show-subscriptions' checked={showSubscriptions} onChange={(e) => setShowSubscriptions(e.target.checked)} />
|
<input type='checkbox' id='show-subscriptions' checked={showSubscriptions} onChange={(e) => setShowSubscriptions(e.target.checked)} />
|
||||||
<label htmlFor='show-subscriptions'>
|
<label htmlFor='show-subscriptions'>show subscriptions</label>
|
||||||
show subscriptions (
|
<span className={styles.editSubscriptionsWrapper}>
|
||||||
|
(
|
||||||
<Link
|
<Link
|
||||||
to={location.pathname.replace(/\/$/, '') + '/settings#subscriptions-settings'}
|
to={location.pathname.replace(/\/$/, '') + '/settings#subscriptions-settings'}
|
||||||
className={styles.editSubscriptionsLink}
|
className={styles.editSubscriptionsLink}
|
||||||
@@ -113,7 +114,7 @@ const TopbarEditModal = () => {
|
|||||||
edit subscriptions
|
edit subscriptions
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
</label>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user