Permalink
Browse files

Fix vertical alignment of `color` fields with their label

  • Loading branch information...
philwareham committed Oct 17, 2016
1 parent 1019d64 commit 4f12604952cd3621b910589de4d08a34cee0b88d
@@ -935,6 +935,12 @@ button {
outline-width: 0;
}
/**
+ * Fix vertical alignment of `color` fields with their label.
+ */
+ [type="color"] {
+ vertical-align: middle;
+ }
+ /**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1117,6 +1117,12 @@ button {
outline-width: 0;
}
/**
+ * Fix vertical alignment of `color` fields with their label.
+ */
+ [type="color"] {
+ vertical-align: middle;
+ }
+ /**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1108,6 +1108,12 @@ button {
outline-width: 0;
}
/**
+ * Fix vertical alignment of `color` fields with their label.
+ */
+ [type="color"] {
+ vertical-align: middle;
+ }
+ /**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 4f12604

Please sign in to comment.