Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions src/components/Feed/FeedComments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

&.is-fullscreen {
border-radius: 0;
padding-bottom: 62px;
}
}

Expand Down Expand Up @@ -158,27 +157,6 @@
.add-comment {
background-color: $tc-gray-neutral-light;
border-radius: 0 0 $card-border-radius $card-border-radius;

.is-fullscreen & {
border-top: 1px solid $tc-gray-10;
bottom: 0;
position: fixed;
right: 0;
/* minus sidebar width and minus sidebar border width */
width: calc(100% - 360px - 1px);
z-index: 5;

/* if there is not enough space for sidebar to be 360
than it becomes 1/3 of the width */
@media screen and (min-width: $screen-md) and (max-width: 360px * 3) {
/* two third of the width minus 1px of the width of the sidebar */
width: calc(100% / 3 * 2 - 1px);
}

@media screen and (max-width: $screen-md - 1px) {
width: 100%;
}
}
}

.no-comments {
Expand Down