Header navigation style fixes
This commit is contained in:
parent
b3155c4535
commit
c907e6ffa5
|
@ -425,7 +425,7 @@
|
|||
width: 100%;
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
right: 9rem;
|
||||
right: 1.4rem;
|
||||
}
|
||||
|
||||
.control {
|
||||
|
@ -457,6 +457,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.articleControlsAuthorized {
|
||||
@include media-breakpoint-up(xl) {
|
||||
right: 9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.userControl {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
@ -484,7 +490,8 @@
|
|||
}
|
||||
|
||||
.editorControl {
|
||||
border-radius: 1.2em;
|
||||
border-radius: 2em;
|
||||
font-size: 1.4rem !important;
|
||||
|
||||
&:hover {
|
||||
background: var(--background-color-invert);
|
||||
|
|
|
@ -59,6 +59,7 @@ export const Header = (props: Props) => {
|
|||
const [isTopicsVisible, setIsTopicsVisible] = createSignal(false)
|
||||
const [isZineVisible, setIsZineVisible] = createSignal(false)
|
||||
const [isFeedVisible, setIsFeedVisible] = createSignal(false)
|
||||
const { isAuthenticated } = useSession()
|
||||
|
||||
const toggleFixed = () => setFixed(!fixed())
|
||||
|
||||
|
@ -330,7 +331,7 @@ export const Header = (props: Props) => {
|
|||
</div>
|
||||
<HeaderAuth setIsProfilePopupVisible={setIsProfilePopupVisible} />
|
||||
<Show when={props.title}>
|
||||
<div class={clsx(styles.articleControls, 'col-auto')}>
|
||||
<div class={clsx(styles.articleControls, 'col-auto', {[isAuthenticated()]: styles.articleControlsAuthorized})}>
|
||||
<SharePopup
|
||||
title={props.title}
|
||||
imageUrl={props.cover}
|
||||
|
|
Loading…
Reference in New Issue
Block a user