Add a .btn-xs class for buttons smaller than .btn-sm.

This commit is contained in:
Christopher Charbonneau Wells 2017-12-05 10:29:14 -05:00
parent dbe87fe853
commit e9a80504e2
1 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,5 @@
// Baby Buddy site-wide custom styles.
// Temporary workaround. See: https://github.com/twbs/bootstrap/issues/23553
.dropdown-menu-right {
right: 0;
left: auto; // Reset the default from `.dropdown-menu`
}
// Temporary workaround. See: https://github.com/tempusdominus/bootstrap-4/issues/18
.bootstrap-datetimepicker-widget {
&.dropdown-menu {
@ -13,6 +7,17 @@
}
}
// Extra-small button.
.btn-xs {
@include button-size(.2rem, .12rem, .75rem, 1, .2rem);
}
// Temporary workaround. See: https://github.com/twbs/bootstrap/issues/23553
.dropdown-menu-right {
right: 0;
left: auto; // Reset the default from `.dropdown-menu`
}
// BB form fields do not follow typical BS4 style that enables this display.
.invalid-feedback {
display: block;