Fix profile markup (#259)
This commit is contained in:
parent
b1db22aa23
commit
8e6b70eb7e
|
@ -5,8 +5,6 @@ import { MediaItem } from '../../../pages/types'
|
||||||
import { createSignal, Show } from 'solid-js'
|
import { createSignal, Show } from 'solid-js'
|
||||||
import { Icon } from '../../_shared/Icon'
|
import { Icon } from '../../_shared/Icon'
|
||||||
import { Topic } from '../../../graphql/types.gen'
|
import { Topic } from '../../../graphql/types.gen'
|
||||||
import { getPagePath } from '@nanostores/router'
|
|
||||||
import { router } from '../../../stores/router'
|
|
||||||
import { CardTopic } from '../../Feed/CardTopic'
|
import { CardTopic } from '../../Feed/CardTopic'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|
|
@ -625,7 +625,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
margin-top: 0.5rem;
|
margin-top: 1.5rem;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
@include media-breakpoint-down(md) {
|
||||||
|
@ -637,7 +637,6 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
margin-top: 1rem;
|
|
||||||
margin-right: 3rem;
|
margin-right: 3rem;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
border-bottom: unset !important;
|
border-bottom: unset !important;
|
||||||
|
@ -669,10 +668,6 @@
|
||||||
.subscribersCounter {
|
.subscribersCounter {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-left: -0.6rem;
|
margin-left: -0.6rem;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #696969;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.listWrapper {
|
.listWrapper {
|
||||||
|
|
|
@ -126,7 +126,6 @@ export const AuthorCard = (props: Props) => {
|
||||||
setUserpicUrl(props.author.userpic.replace('100x', '500x500'))
|
setUserpicUrl(props.author.userpic.replace('100x', '500x500'))
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<>
|
|
||||||
<div
|
<div
|
||||||
class={clsx(styles.author, props.class)}
|
class={clsx(styles.author, props.class)}
|
||||||
classList={{
|
classList={{
|
||||||
|
@ -368,9 +367,6 @@ export const AuthorCard = (props: Props) => {
|
||||||
</Show>
|
</Show>
|
||||||
</Show>
|
</Show>
|
||||||
</ShowOnlyOnClient>
|
</ShowOnlyOnClient>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Show when={props.followers}>
|
<Show when={props.followers}>
|
||||||
<Modal variant="medium" name="followers" onClose={handleCloseFollowModals} maxHeight>
|
<Modal variant="medium" name="followers" onClose={handleCloseFollowModals} maxHeight>
|
||||||
<>
|
<>
|
||||||
|
@ -435,6 +431,7 @@ export const AuthorCard = (props: Props) => {
|
||||||
</>
|
</>
|
||||||
</Modal>
|
</Modal>
|
||||||
</Show>
|
</Show>
|
||||||
</>
|
</div>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,10 +14,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.authorHeader {
|
.authorHeader {
|
||||||
border-bottom: 2px solid #000;
|
border-bottom: 2px solid var(--default-color);
|
||||||
margin-bottom: 2.4rem;
|
margin-bottom: 2.4rem;
|
||||||
margin-top: -3.2rem;
|
|
||||||
padding-bottom: 4rem;
|
padding-bottom: 4rem;
|
||||||
|
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
margin-top: -3.2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ratingContainer {
|
.ratingContainer {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user