Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Teams
Engagement
Websites
GNOME HIG CSS Library
Commits
ebe4653d
Commit
ebe4653d
authored
Apr 02, 2021
by
Pranjay Pathak
Browse files
added fixed width to date-input
parent
9910f070
Changes
2
Show whitespace changes
Inline
Side-by-side
documentation/components/inputs.md
View file @
ebe4653d
...
...
@@ -40,12 +40,12 @@ For multiline inputs.
## Date
<div
class=
"flex flex-col
w-1/2
"
>
<div
class=
"flex flex-col"
>
<label
for=
"date"
>
Birthday
</label>
<input
type=
"date"
class=
"mt-2"
id=
"date"
>
</div>
~~~
html
<div
class=
"flex flex-col
w-1/2
"
>
<div
class=
"flex flex-col "
>
<label
for=
"date"
>
Birthday
</label>
<input
type=
"date"
class=
"mt-2"
id=
"date"
>
</div>
...
...
src/components/input.pcss
View file @
ebe4653d
...
...
@@ -58,6 +58,10 @@ input[type=search] {
}
}
input[type=date]{
@apply p-2 pl-5 w-40 ;
}
.search {
@apply relative;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment