Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
feat: update comments header layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Raspincel committed Dec 19, 2023
1 parent b2d35e7 commit 52e6dc3
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 134 deletions.
2 changes: 0 additions & 2 deletions src/web-components/comments/comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ export class Comments extends WebComponentsBaseElement {
@close=${this.toggle}
side=${this.side.split(':')[0]}
></superviz-comments-topbar>
<superviz-comments-annotations id="annotations" open=${this.open}>
</superviz-comments-annotations>
</div>
<superviz-comments-annotation-filter
filter=${this.annotationFilter}
Expand Down
101 changes: 0 additions & 101 deletions src/web-components/comments/components/annotations.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/web-components/comments/components/comment-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class CommentsCommentInput extends WebComponentsBaseElement {
<div class="comment-input--options">
<div class="comment-actions">
<button class="icon-button mention">
<superviz-icon name="mention" size="sm"></superviz-icon>
<superviz-icon name="mention" size="sm" ?allowSetSize=${true}></superviz-icon>
</button>
</div>
<div class="comment-input-options">
Expand Down
2 changes: 1 addition & 1 deletion src/web-components/comments/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { CommentsTopbar } from './topbar';
export { CommentsAnnotations } from './annotations';
export { CommentsAnnotations } from '../../../../annotations';
export { CommentsContent } from './content';
export { CommentsCommentItem } from './comment-item';
export { CommentsCommentInput } from './comment-input';
Expand Down
4 changes: 2 additions & 2 deletions src/web-components/comments/css/annotation-filter.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ export const annotationFilterStyle = css`
.select {
display: flex;
width: 100%;
justify-content: flex-end;
justify-content: flex-start;
align-items: center;
}
.select-container {
text-wrap: nowrap;
white-space: nowrap;
padding: 12px;
cursor: pointer;
color: rgb(var(--sv-gray-500));
Expand Down
26 changes: 0 additions & 26 deletions src/web-components/comments/css/annotations.style.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/web-components/comments/css/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { commentsStyle } from './comments.style';
export { topbarStyle } from './topbar.style';
export { annotationsStyle } from './annotations.style';
export { annotationsStyle } from '../../../../annotations.style';
export { commentItemStyle } from './comment-item.style';
export { contentStyle } from './content.style';
export { commentInputStyle } from './comment-input.style';
Expand Down

0 comments on commit 52e6dc3

Please sign in to comment.