Skip to content

Commit

Permalink
fix(video): prevent styles from bleeding into html video tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Jan 28, 2015
1 parent f67605b commit 7e762b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
27 changes: 16 additions & 11 deletions scss/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,13 @@ input[type="color"] {
}
}

input,
textarea {
width: 100%;
.item-input {
input,
textarea {
width: 100%;
}
}

textarea {
padding-left: 0;
@include placeholder($input-color-placeholder, -3px);
Expand Down Expand Up @@ -255,14 +258,16 @@ input[type="checkbox"] {
}

// Reset width of input images, buttons, radios, checkboxes
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
width: auto; // Override of generic input selector
.item-input {
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
width: auto; // Override of generic input selector
}
}

// Set the height of file to match text inputs
Expand Down
3 changes: 1 addition & 2 deletions scss/_range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* --------------------------------------------------
*/

input[type="range"] {
.range input{
display: inline-block;
overflow: hidden;
margin-top: 5px;
Expand Down Expand Up @@ -119,4 +119,3 @@ input[type="range"] {
padding-right: 5px;
padding-left: 0;
}

0 comments on commit 7e762b9

Please sign in to comment.