Skip to content

Commit d8c19ca

Browse files
committed
add float none and margin changed to navbar-form
1 parent 883cfd2 commit d8c19ca

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

assets/css/material-dashboard.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4685,7 +4685,8 @@ footer .copyright .material-icons {
46854685
}
46864686
.sidebar .navbar-form,
46874687
.off-canvas-sidebar .navbar-form {
4688-
margin: 0 50px 0 0;
4688+
margin: 10px 15px;
4689+
float: none !important;
46894690
}
46904691
.sidebar .navbar-form .btn,
46914692
.off-canvas-sidebar .navbar-form .btn {
@@ -4958,5 +4959,3 @@ footer .copyright .material-icons {
49584959
overflow: visible;
49594960
}
49604961
}
4961-
4962-
/*# sourceMappingURL=material-dashboard.css.map */

assets/sass/md/_responsive.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@
201201
}
202202

203203
.navbar-form{
204-
margin: 0 50px 0 0;
204+
margin: 10px 15px;
205+
float: none !important;
205206

206207
.btn{
207208
position: absolute;

examples/dashboard.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@
137137

138138
<form class="navbar-form navbar-right" role="search">
139139
<div class="form-group is-empty">
140-
<input type="text" class="form-control" placeholder="Search">
141-
<span class="material-input"></span>
140+
<input type="text" class="form-control" placeholder="Search">
141+
<span class="material-input"></span>
142142
</div>
143143
<button type="submit" class="btn btn-white btn-round btn-just-icon">
144144
<i class="material-icons">search</i><div class="ripple-container"></div>
145145
</button>
146-
</form>
146+
</form>
147147
</div>
148148
</div>
149149
</nav>

0 commit comments

Comments
 (0)