From a021ec63baaf59e2a3fc8c91be67e7fc247d878b Mon Sep 17 00:00:00 2001 From: doubaniux Date: Sat, 4 Jul 2020 00:51:12 +0800 Subject: [PATCH] fix display issue --- common/static/css/boofilsic.css | 8 ++++---- common/static/sass/_SingleSection.sass | 8 ++++++-- users/templates/users/report.html | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/common/static/css/boofilsic.css b/common/static/css/boofilsic.css index 6ca2300a..0b75ad09 100644 --- a/common/static/css/boofilsic.css +++ b/common/static/css/boofilsic.css @@ -1909,10 +1909,6 @@ select::placeholder { overflow: auto; } -.single-section-wrapper input, .single-section-wrapper select { - width: 100%; -} - .entity-form, .review-form { overflow: auto; } @@ -1992,6 +1988,10 @@ select::placeholder { top: 2px; } +.report-form input, .report-form select { + width: 100%; +} + @media (max-width: 575.98px) { .review-form .review-form__visibility-radio { float: unset; diff --git a/common/static/sass/_SingleSection.sass b/common/static/sass/_SingleSection.sass index 176e4d77..4d2ee31c 100644 --- a/common/static/sass/_SingleSection.sass +++ b/common/static/sass/_SingleSection.sass @@ -6,8 +6,8 @@ $single-section-padding-mobile: 32px 28px background-color: $color-bright overflow: auto - & input, & select - width: 100% + // & input, & select + // width: 100% .entity-form, .review-form overflow: auto @@ -59,6 +59,10 @@ $single-section-padding-mobile: 32px 28px position: relative top: 2px + +.report-form + & input, & select + width: 100% // Small devices (landscape phones, 576px and up) @media (max-width: $small-devices) .review-form diff --git a/users/templates/users/report.html b/users/templates/users/report.html index 27d1d072..b9129341 100644 --- a/users/templates/users/report.html +++ b/users/templates/users/report.html @@ -26,7 +26,7 @@
-
+ {% csrf_token %} {{ form }}