Fix CSS
This commit is contained in:
parent
02a39e693b
commit
b69b01e36b
3 changed files with 27 additions and 13 deletions
|
@ -126,7 +126,7 @@ export default function CommentReactions(props: Props) {
|
||||||
onClick={() => react(commentId, REACTION_TYPES.CREATOR_LIKE)}
|
onClick={() => react(commentId, REACTION_TYPES.CREATOR_LIKE)}
|
||||||
>
|
>
|
||||||
{creatorLiked && (
|
{creatorLiked && (
|
||||||
<ChannelThumbnail xsmall uri={authorUri} hideStakedIndicator className="comment__creator-like" />
|
<ChannelThumbnail xsmall uri={authorUri} hideStakedIndicator className="comment__creator-like" allowGifs />
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -191,7 +191,7 @@ export default function Notification(props: Props) {
|
||||||
{isCommentNotification && commentText ? (
|
{isCommentNotification && commentText ? (
|
||||||
<>
|
<>
|
||||||
<div className="notification__title">{title}</div>
|
<div className="notification__title">{title}</div>
|
||||||
<div title={commentText} className="notification__text mobile-hidden">
|
<div title={commentText} className="notification__text">
|
||||||
{commentText}
|
{commentText}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -18,13 +18,14 @@ $contentMaxWidth: 60rem;
|
||||||
.comment__create,
|
.comment__create,
|
||||||
.comment__content {
|
.comment__content {
|
||||||
margin: var(--spacing-m);
|
margin: var(--spacing-m);
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification__icon {
|
.notification__icon {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
margin-top: var(--spacing-xs);
|
margin: auto;
|
||||||
|
|
||||||
.icon__wrapper {
|
.icon__wrapper {
|
||||||
width: 1rem;
|
width: 1rem;
|
||||||
|
@ -42,6 +43,10 @@ $contentMaxWidth: 60rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: var(--spacing-m);
|
margin-left: var(--spacing-m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: $breakpoint-medium) {
|
||||||
|
margin-top: var(--spacing-xxs);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification__wrapper {
|
.notification__wrapper {
|
||||||
|
@ -64,6 +69,16 @@ $contentMaxWidth: 60rem;
|
||||||
@media (max-width: $breakpoint-small) {
|
@media (max-width: $breakpoint-small) {
|
||||||
padding: var(--spacing-s);
|
padding: var(--spacing-s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comment__creator-like {
|
||||||
|
height: 0.8rem;
|
||||||
|
width: 0.8rem;
|
||||||
|
margin-left: 3px;
|
||||||
|
z-index: 3;
|
||||||
|
position: absolute;
|
||||||
|
top: 0.4rem;
|
||||||
|
left: 0.4rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification__wrapper--unread {
|
.notification__wrapper--unread {
|
||||||
|
@ -174,6 +189,15 @@ $contentMaxWidth: 60rem;
|
||||||
margin: var(--spacing-m);
|
margin: var(--spacing-m);
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
@media (min-width: $breakpoint-small) {
|
||||||
|
margin-left: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: $breakpoint-small) {
|
||||||
|
margin-left: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
> *:not(:last-of-type) {
|
> *:not(:last-of-type) {
|
||||||
margin-right: var(--spacing-m);
|
margin-right: var(--spacing-m);
|
||||||
}
|
}
|
||||||
|
@ -181,16 +205,6 @@ $contentMaxWidth: 60rem;
|
||||||
.button__label {
|
.button__label {
|
||||||
margin-left: var(--spacing-xs);
|
margin-left: var(--spacing-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment__creator-like {
|
|
||||||
height: 0.8rem;
|
|
||||||
width: 0.8rem;
|
|
||||||
margin-left: 3px;
|
|
||||||
z-index: 3;
|
|
||||||
position: absolute;
|
|
||||||
top: 0.4rem;
|
|
||||||
left: 0.4rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification__bubble {
|
.notification__bubble {
|
||||||
|
|
Loading…
Add table
Reference in a new issue