Skip to content

Commit ca6f9fd

Browse files
committed
Fixed Search Styles on Mobile
1 parent 905a620 commit ca6f9fd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

gwt-material/src/main/java/gwt/material/design/client/base/SearchObject.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* Licensed under the Apache License, Version 2.0 (the "License");
1010
* you may not use this file except in compliance with the License.
1111
* You may obtain a copy of the License at
12-
*
12+
*
1313
* http://www.apache.org/licenses/LICENSE-2.0
14-
*
14+
*
1515
* Unless required by applicable law or agreed to in writing, software
1616
* distributed under the License is distributed on an "AS IS" BASIS,
1717
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialSearchResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* Licensed under the Apache License, Version 2.0 (the "License");
1010
* you may not use this file except in compliance with the License.
1111
* You may obtain a copy of the License at
12-
*
12+
*
1313
* http://www.apache.org/licenses/LICENSE-2.0
14-
*
14+
*
1515
* Unless required by applicable law or agreed to in writing, software
1616
* distributed under the License is distributed on an "AS IS" BASIS,
1717
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

gwt-material/src/main/resources/gwt/material/design/public/css/overridecss.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,12 +893,12 @@ footer.fixed{
893893
}
894894
/** Search Bar Responsive design **/
895895
.input-field input[type=search] {
896-
padding-left: 2rem;
897-
width: calc(100% - 10rem);
898-
margin-bottom: 0px;
896+
padding-left: 2rem !important;
897+
width: calc(100% - 10rem) !important;
898+
margin-bottom: 0px !important;
899899
}
900900
.input-field input[type=search] + label {
901-
z-index: 999;
901+
z-index: 999 !important;
902902
}
903903
.search-result{
904904
max-height: 400px;

0 commit comments

Comments
 (0)