From 599ad856b23255b286548edffe2b0674bf88a140 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Mon, 22 May 2023 17:18:57 +0530 Subject: [PATCH] bootstrap: Remove CSS for ".input-xxlarge" elements. We use "input-xxlarge" class for search box in activity support page only. This commit adds the width property in activity.css for the search box and rest of the CSS applied using this class was redundant and can be removed safely. --- web/styles/portico/activity.css | 10 ++++++++++ web/third/bootstrap/css/bootstrap.css | 11 ----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css index fae1dce88c..6fd04d5126 100644 --- a/web/styles/portico/activity.css +++ b/web/styles/portico/activity.css @@ -144,3 +144,13 @@ tr.admin td:first-child { border-color: hsl(0deg 0% 83%); border-radius: 2px; } + +.search-query.input-xxlarge { + width: 530px; +} + +@media (width <= 767px) { + .search-query.input-xxlarge { + width: 100%; + } +} diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css index 8b98671f8b..95267b4b91 100644 --- a/web/third/bootstrap/css/bootstrap.css +++ b/web/third/bootstrap/css/bootstrap.css @@ -518,9 +518,6 @@ input:-ms-input-placeholder { input::-webkit-input-placeholder { color: #999999; } -.input-xxlarge { - width: 530px; -} input { margin-left: 0; } @@ -1439,14 +1436,6 @@ button.close { .row { margin-left: 0; } - .input-xxlarge { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - } .input-append input { display: inline-block; width: auto;