link-fix1

This commit is contained in:
Untone 2024-09-24 12:38:53 +03:00
parent a451a6bf4e
commit 6e3871cd5a
2 changed files with 41 additions and 1 deletions

View File

@ -31,3 +31,43 @@
.TopicSelect .solid-select-option[data-disabled='true'] { .TopicSelect .solid-select-option[data-disabled='true'] {
display: none; display: none;
} }
.selectedTopics {
display: flex;
flex-wrap: wrap;
}
.selectedTopic {
background-color: #f0f0f0;
margin: 4px;
padding: 6px;
border-radius: 4px;
}
.selectWrapper {
display: inline-block;
cursor: pointer;
}
.searchInput {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
}
.options {
margin-top: 10px;
background-color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.option {
padding: 10px;
cursor: pointer;
}
.disabled {
color: gray;
pointer-events: none;
}

View File

@ -215,7 +215,7 @@ export const FeedView = (props: FeedProps) => {
<div class={styles.comment}> <div class={styles.comment}>
<div class={clsx('text-truncate', styles.commentBody)}> <div class={clsx('text-truncate', styles.commentBody)}>
<A <A
href={`article/${comment.shout.slug}?commentId=${comment.id}`} href={`/${comment.shout.slug}?commentId=${comment.id}`}
innerHTML={comment.body || ''} innerHTML={comment.body || ''}
/> />
</div> </div>