Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

Commit 3a29972

Browse files
committed
Merge pull request #3818 from ccallebs/3817-style-date-picker
Style 'date' input type
2 parents fd43ecf + 1056c85 commit 3a29972

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

app/assets/stylesheets/active_admin/classic/_forms.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,14 @@ form {
119119
}
120120

121121
/* Text Fields */
122-
input[type=text], input[type=password], input[type=email], input[type=number], input[type=url], input[type=tel], textarea {
122+
input[type=text],
123+
input[type=password],
124+
input[type=email],
125+
input[type=number],
126+
input[type=url],
127+
input[type=tel],
128+
input[type=date],
129+
textarea {
123130
width: calc(80% - #{$text-input-total-padding});
124131
border: $border-width solid #c9d0d6;
125132
@include rounded;
@@ -134,6 +141,10 @@ form {
134141
}
135142
}
136143

144+
input[type=date] {
145+
width: calc(100% - #{$text-input-total-padding});
146+
}
147+
137148
fieldset > ol > li {
138149

139150
/* Hints */

0 commit comments

Comments
 (0)