Fix style for datetime picker

Workaround for tempusdominus/bootstrap-4#18
Resolves #6
This commit is contained in:
Bob Thomas 2017-11-01 12:42:41 -04:00 committed by Christopher Charbonneau Wells
parent 40f8a511ba
commit 862066003e
2 changed files with 8 additions and 3 deletions

View File

@ -6,7 +6,12 @@
left: auto; // Reset the default from `.dropdown-menu`
}
// Temporary workaround. See: https://github.com/tempusdominus/bootstrap-4/issues/18
.bootstrap-datetimepicker-widget.dropdown-menu {
width: auto; // Reset the default
}
// BB form fields do not follow typical BS4 style that enables this display.
.invalid-feedback {
display: block;
}
}

View File

@ -8,8 +8,8 @@
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% block title %}{% endblock %} | Baby Buddy</title>
<link rel="stylesheet" href="{% static "babybuddy/css/app.css" %}" />
<link rel="stylesheet" href="{% static "babybuddy/css/vendor.css" %}" />
<link rel="stylesheet" href="{% static "babybuddy/css/app.css" %}" />
<link rel="apple-touch-icon" sizes="180x180" href="{% static "babybuddy/root/apple-touch-icon.png" %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static "babybuddy/root/favicon-32x32.png" %}">
@ -38,4 +38,4 @@
{% block javascript %}{% endblock %}
</body>
</html>
</html>