From a801bafd7909f09208b9f0ba4cf8e6f54e1ea707 Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 25 Feb 2021 16:04:05 +0800 Subject: [PATCH] change max width of input --- app/views/asks/index.html.erb | 5 ++--- modules/ask/_ask_widget_form.html.erb | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/asks/index.html.erb b/app/views/asks/index.html.erb index 613583e..a481c38 100644 --- a/app/views/asks/index.html.erb +++ b/app/views/asks/index.html.erb @@ -44,15 +44,14 @@ overflow: hidden; position: relative; min-width: 10em; - max-width: 20em; + max-width: 25em; padding-left: 0; - width: 70%; + width: 100%; padding: 0.5em; justify-content: center; } .ask-question .form-horizontal input[type="text"],.ask-question .form-horizontal select{ width: 97%; - max-width: 13.75em; } .ask-question .form-horizontal .form-actions{ position: relative; diff --git a/modules/ask/_ask_widget_form.html.erb b/modules/ask/_ask_widget_form.html.erb index f232130..38a75ff 100644 --- a/modules/ask/_ask_widget_form.html.erb +++ b/modules/ask/_ask_widget_form.html.erb @@ -32,15 +32,14 @@ overflow: hidden; position: relative; min-width: 10em; - max-width: 20em; + max-width: 25em; padding-left: 0; - width: 70%; + width: 100%; padding: 0.5em; justify-content: center; } .ask-question .form-horizontal input[type="text"],.ask-question .form-horizontal select{ width: 97%; - max-width: 13.75em; } .ask-question .form-horizontal .form-actions{ position: relative;