From 64de53e9a99e22dc531a90a2b98b329ba12aef2f Mon Sep 17 00:00:00 2001 From: Snakes Date: Fri, 2 Dec 2022 18:32:31 -0500 Subject: [PATCH] Fix signup overflowing on mobile, and related. --- files/assets/css/main.css | 5 ++++- files/templates/login/authforms.html | 2 +- files/templates/login/sign_up.html | 33 ++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 254ebd957..4b19369cf 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -1985,6 +1985,9 @@ button.close { .align-middle { vertical-align: middle !important; } +.bg-background { + background-color: var(--background); +} .bg-primary { background-color: var(--primary) !important; } @@ -3948,7 +3951,7 @@ ul.comment-section { #login { padding-top: 0; height: 100%; - overflow: hidden; + overflow-x: hidden; background-color: var(--light); } .splash-wrapper { diff --git a/files/templates/login/authforms.html b/files/templates/login/authforms.html index 7a914b3ff..2b0a120d0 100644 --- a/files/templates/login/authforms.html +++ b/files/templates/login/authforms.html @@ -10,7 +10,7 @@ {% block body %}
-
+

{% block authtitle %}{% endblock %}

diff --git a/files/templates/login/sign_up.html b/files/templates/login/sign_up.html index 5464c960f..5b4cae9cc 100644 --- a/files/templates/login/sign_up.html +++ b/files/templates/login/sign_up.html @@ -26,6 +26,39 @@ {% block content %}
+ {% if not ref_user and SITE_NAME == 'rDrama' and site_settings['login_required'] %} + +
+

+ Hiiiiii it’s your favorite user Carp! We’re currently on Login Required mode for one of a few reasons: +

+
    +
  1. The site is running really slowly and we think it might be miscreants up to no good, or
  2. +
  3. It’s our monthly 24 hours of login-required-mode to encourage lovely lurkers to become lovely new friends of ours, or
  4. +
  5. Someone clicked the toggle by mistake lol oops sorry!
  6. +
+

+ But that’s all fine. Signing up is easy. It takes literally like 4 seconds if you’re slow. You don’t even need an email! Just pick a username, make up some neat new password where you replace all the e’s with 3s or whatever and bam, done, you’re in.
+ Remember to click “Follow” on my profile! +

+

+ I love you.
+ xoxo carp 💋 +

+
+ {% elif not ref_user and SITE_NAME == 'WPD' and site_settings['login_required'] %} + +
+

+ Hi you!watchpeopledie.tv is currently doing our monthly 24(ish) hours of "everyone needs to have an account" — sorry about that! But making an account is actually super easy. You don't even need an email address! Literally just pick a username, set a password, and that's that. Bam, done, like 8 seconds, tops.
+

+

+ We WANT you with us 💖
+ Please join! +

+
+ {% endif %} +
{% if error %}
{{error}}
{% endif %}