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 type = include.type | default: 'date' %}
|
||||||
|
{% assign value = include.value | default: '2020-06-20' %}
|
||||||
{% assign placeholder = include.placeholder | default: 'Select a date' %}
|
{% assign placeholder = include.placeholder | default: 'Select a date' %}
|
||||||
{% assign id = include.id | default: 'simple' %}
|
{% assign id = include.id | default: 'simple' %}
|
||||||
|
|
||||||
{% capture input %}
|
{% 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 %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% if include.inline %}
|
{% if include.inline %}
|
||||||
|
|||||||
Vendored
+3
@@ -44,6 +44,9 @@
|
|||||||
.flatpickr-day {
|
.flatpickr-day {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
&.today {
|
&.today {
|
||||||
border-color: $border-color;
|
border-color: $border-color;
|
||||||
|
|||||||
Reference in New Issue
Block a user