Skip to content

Commit cb54879

Browse files
author
vikasrohit
authored
Merge pull request #2982 from appirio-tech/hotfix/move-post-textbox-to-top
move textarea to the top in the fullscreen post mode
2 parents d48e4e7 + d8b3a74 commit cb54879

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/components/Feed/FeedComments.scss

-22
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
&.is-fullscreen {
2323
border-radius: 0;
24-
padding-bottom: 62px;
2524
}
2625
}
2726

@@ -158,27 +157,6 @@
158157
.add-comment {
159158
background-color: $tc-gray-neutral-light;
160159
border-radius: 0 0 $card-border-radius $card-border-radius;
161-
162-
.is-fullscreen & {
163-
border-top: 1px solid $tc-gray-10;
164-
bottom: 0;
165-
position: fixed;
166-
right: 0;
167-
/* minus sidebar width and minus sidebar border width */
168-
width: calc(100% - 360px - 1px);
169-
z-index: 5;
170-
171-
/* if there is not enough space for sidebar to be 360
172-
than it becomes 1/3 of the width */
173-
@media screen and (min-width: $screen-md) and (max-width: 360px * 3) {
174-
/* two third of the width minus 1px of the width of the sidebar */
175-
width: calc(100% / 3 * 2 - 1px);
176-
}
177-
178-
@media screen and (max-width: $screen-md - 1px) {
179-
width: 100%;
180-
}
181-
}
182160
}
183161

184162
.no-comments {

0 commit comments

Comments
 (0)