Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose_ui: Hide the scroll-to-bottom button in fullscreen with CSS.

Aman Agrawal8657259747c6
diff --git a/web/src/compose_ui.ts b/web/src/compose_ui.ts
index 17feafb101b..115037ad78f 100644
--- a/web/src/compose_ui.ts
+++ b/web/src/compose_ui.ts
@@ -520,7 +520,6 @@ export function make_compose_box_full_size(): void {
// Set the `top` property of compose-box.
set_compose_box_top(true);
- $("#scroll-to-bottom-button-container").removeClass("show");
$("textarea#compose-textarea").trigger("focus");
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 7ca671c501c..cca3fa384d0 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2134,7 +2134,7 @@ body:not(.spectator-view) {
visibility 500ms,
opacity 500ms ease-in-out;
- &.show {
+ #compose:not(.compose-fullscreen) &.show {
visibility: visible;
opacity: 1;
}