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 {
|
||||
font-size: var(--body-font-size);
|
||||
color: var(--link-color, #0000ee);
|
||||
text-decoration: underline;
|
||||
color: var(--post-link-text-color);
|
||||
text-decoration: var(--post-content-link-text-decoration);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editSubscriptionsWrapper {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.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 {
|
||||
|
||||
@@ -100,8 +100,9 @@ const TopbarEditModal = () => {
|
||||
<div className={styles.section}>
|
||||
<div className={styles.checkboxItem}>
|
||||
<input type='checkbox' id='show-subscriptions' checked={showSubscriptions} onChange={(e) => setShowSubscriptions(e.target.checked)} />
|
||||
<label htmlFor='show-subscriptions'>
|
||||
show subscriptions (
|
||||
<label htmlFor='show-subscriptions'>show subscriptions</label>
|
||||
<span className={styles.editSubscriptionsWrapper}>
|
||||
(
|
||||
<Link
|
||||
to={location.pathname.replace(/\/$/, '') + '/settings#subscriptions-settings'}
|
||||
className={styles.editSubscriptionsLink}
|
||||
@@ -113,7 +114,7 @@ const TopbarEditModal = () => {
|
||||
edit subscriptions
|
||||
</Link>
|
||||
)
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user