Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
portico: Remove `container` and `row-fluild` bootstrap classes.
Aman Agrawalb2f0677c251a
diff --git a/templates/zerver/portico_error_page.html b/templates/zerver/portico_error_page.htmlindex 9223fbc2e1a..72b6bc59b5d 100644--- a/templates/zerver/portico_error_page.html+++ b/templates/zerver/portico_error_page.html@@ -2,11 +2,7 @@{% block portico_content %}<div class="error_page">- <div class="container">- <div class="row-fluid">- {% block error_page_content %}- {% endblock %}- </div>- </div>+ {% block error_page_content %}+ {% endblock %}</div>{% endblock %}diff --git a/web/html/5xx.html b/web/html/5xx.htmlindex f3f9ce637fe..b2c9caa0a52 100644--- a/web/html/5xx.html+++ b/web/html/5xx.html@@ -21,15 +21,13 @@</div></div></div>- <div class="container">- <div class="row-fluid">- <img src="/static/images/errors/500art.svg" alt=""/>- <div class="errorbox">- <div class="errorcontent">- <h1 class="lead">Internal server error</h1>- <p>This Zulip server is currently experiencing some technical difficulties. Sorry about that!</p>- <p>The page will reload automatically soon after service is restored.</p>- </div>+ <div class="error_page">+ <img src="/static/images/errors/500art.svg" alt=""/>+ <div class="errorbox">+ <div class="errorcontent">+ <h1 class="lead">Internal server error</h1>+ <p>This Zulip server is currently experiencing some technical difficulties. Sorry about that!</p>+ <p>The page will reload automatically soon after service is restored.</p></div></div></div>diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.cssindex b6cfa39a495..859593f9d7c 100644--- a/web/styles/portico/portico.css+++ b/web/styles/portico/portico.css@@ -1,5 +1,10 @@:root {--color-background-modal: hsl(0deg 0% 98%);+ /*+ It is fine if footer is longer than that+ since we are only trying to avoid overlap.+ */+ --height-footer: 495px;}[data-tippy-root] .tippy-box .tippy-content {@@ -1010,7 +1015,7 @@ input.new-organization-button {}.error_page {- min-height: calc(100vh - 290px);+ min-height: calc(100vh - var(--height-footer));height: 100%;background-color: hsl(163deg 42% 85%);font-family: "Source Sans 3 VF", sans-serif;diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.cssindex 94b11244ef1..9ddfc97996d 100644--- a/web/styles/portico/portico_signin.css+++ b/web/styles/portico/portico_signin.css@@ -4,11 +4,11 @@ html {.flex {display: flex;- padding: 80px 0;+ padding: 20px 0 80px;align-items: center;justify-content: center;- min-height: calc(100vh - 402px);+ min-height: calc(100vh - var(--height-footer));}.m-10 {@@ -292,7 +292,7 @@ html {.header {color: hsl(0deg 0% 27%);background-color: hsl(0deg 0% 100%);- position: fixed;+ position: sticky;width: 100%;top: 0;