From d72384efe29e7c17c83a33374c1373b4030318a9 Mon Sep 17 00:00:00 2001 From: Bartosz Chyzy Date: Wed, 19 Dec 2018 22:13:44 +0100 Subject: [PATCH] Norbert Litkowski nie umie w CSSa --- Trunk/Server/Forum/Forum/Web.config | 2 +- Trunk/Server/Forum/MailSender/Content/Site.css | 5 +++++ Trunk/Server/Forum/MailSender/Views/Home/Index.cshtml | 6 +++--- Trunk/Server/Forum/MailSender/Views/Shared/_Layout.cshtml | 6 ++---- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Trunk/Server/Forum/Forum/Web.config b/Trunk/Server/Forum/Forum/Web.config index 43c4fef..2153111 100644 --- a/Trunk/Server/Forum/Forum/Web.config +++ b/Trunk/Server/Forum/Forum/Web.config @@ -12,7 +12,7 @@ - + diff --git a/Trunk/Server/Forum/MailSender/Content/Site.css b/Trunk/Server/Forum/MailSender/Content/Site.css index e516194..296420e 100644 --- a/Trunk/Server/Forum/MailSender/Content/Site.css +++ b/Trunk/Server/Forum/MailSender/Content/Site.css @@ -301,6 +301,11 @@ textarea { height: 200px; } +.w100 { + width: 100% !important; + max-width: 100% !important; +} + .form-emailsend { color: black; diff --git a/Trunk/Server/Forum/MailSender/Views/Home/Index.cshtml b/Trunk/Server/Forum/MailSender/Views/Home/Index.cshtml index 93b9e7b..695e0cd 100644 --- a/Trunk/Server/Forum/MailSender/Views/Home/Index.cshtml +++ b/Trunk/Server/Forum/MailSender/Views/Home/Index.cshtml @@ -13,19 +13,19 @@ {
@Html.LabelFor(i => i.Subject, new { @class = "label-form" }) - @Html.EditorFor(i => i.Subject, new { htmlAttributes = new { @value = Model.Subject, @class = "form-control form-emailsend", @placeholder = "Temat" } }) + @Html.EditorFor(i => i.Subject, new { htmlAttributes = new { @value = Model.Subject, @class = "form-control form-emailsend w100", @placeholder = "Temat" } }) @Html.ValidationMessageFor(i => i.Subject)
@Html.LabelFor(i => i.EMailTo, new { @class = "label-form" }) - @Html.EditorFor(i => i.EMailTo, new { htmlAttributes = new { @value = Model.EMailTo, @class = "form-control form-emailsend", @placeholder = "Do" } }) + @Html.EditorFor(i => i.EMailTo, new { htmlAttributes = new { @value = Model.EMailTo, @class = "form-control form-emailsend w100", @placeholder = "Do" } }) @Html.ValidationMessageFor(i => i.EMailTo)
@Html.LabelFor(i => i.Content, new { @class = "label-form" }) - @Html.EditorFor(i => i.Content, new { htmlAttributes = new { @value = Model.Content, @class = "form-control", @id = "exampleFormControlTextarea3", @rows=9, @placeholder = "Odpowiedź" } }) + @Html.EditorFor(i => i.Content, new { htmlAttributes = new { @value = Model.Content, @class = "form-control w100", @id = "exampleFormControlTextarea3", @rows=9, @placeholder = "Odpowiedź" } }) @Html.ValidationMessageFor(i => i.Content)
diff --git a/Trunk/Server/Forum/MailSender/Views/Shared/_Layout.cshtml b/Trunk/Server/Forum/MailSender/Views/Shared/_Layout.cshtml index 157ba56..7726bff 100644 --- a/Trunk/Server/Forum/MailSender/Views/Shared/_Layout.cshtml +++ b/Trunk/Server/Forum/MailSender/Views/Shared/_Layout.cshtml @@ -20,10 +20,8 @@ @Html.ActionLink("E-mail", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })