mirror of
https://github.com/tabler/tabler.git
synced 2026-07-28 14:04:38 +04:00
calendar fixes
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{% assign type = include.type | default: 'date' %}
|
||||
{% assign value = include.value | default: '2020-06-20' %}
|
||||
{% assign placeholder = include.placeholder | default: 'Select a date' %}
|
||||
{% assign id = include.id | default: 'simple' %}
|
||||
|
||||
{% capture input %}
|
||||
<input id="calendar-{{ id }}" type="{{ type }}" class="form-control{% if include.class %} {{ include.class }}{% endif %}"{% if placeholder %} placeholder="{{ placeholder }}"{% endif %} />
|
||||
<input id="calendar-{{ id }}" type="{{ type }}" value="{{ value }}" class="form-control{% if include.class %} {{ include.class }}{% endif %}"{% if placeholder %} placeholder="{{ placeholder }}"{% endif %} />
|
||||
{% endcapture %}
|
||||
|
||||
{% if include.inline %}
|
||||
|
||||
Vendored
+3
@@ -44,6 +44,9 @@
|
||||
.flatpickr-day {
|
||||
color: inherit;
|
||||
border-radius: $border-radius;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 1;
|
||||
|
||||
&.today {
|
||||
border-color: $border-color;
|
||||
|
||||
Reference in New Issue
Block a user