Commit ebe4653d authored by Pranjay Pathak's avatar Pranjay Pathak
Browse files

added fixed width to date-input

parent 9910f070
...@@ -40,12 +40,12 @@ For multiline inputs. ...@@ -40,12 +40,12 @@ For multiline inputs.
## Date ## Date
<div class="flex flex-col w-1/2"> <div class="flex flex-col">
<label for="date">Birthday</label> <label for="date">Birthday</label>
<input type="date" class="mt-2" id="date"> <input type="date" class="mt-2" id="date">
</div> </div>
~~~html ~~~html
<div class="flex flex-col w-1/2"> <div class="flex flex-col ">
<label for="date">Birthday</label> <label for="date">Birthday</label>
<input type="date" class="mt-2" id="date"> <input type="date" class="mt-2" id="date">
</div> </div>
......
...@@ -58,6 +58,10 @@ input[type=search] { ...@@ -58,6 +58,10 @@ input[type=search] {
} }
} }
input[type=date]{
@apply p-2 pl-5 w-40 ;
}
.search { .search {
@apply relative; @apply relative;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment