Skip to content

Commit

Permalink
fix: revert multi input test/new shared layout input class (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan authored Aug 20, 2019
1 parent 14957a2 commit dcc3303
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions test/resources/layout-shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ body {
background: beige;
font-size: 10px;
}
.input-playground {
width: 100%;
box-sizing: border-box;
.input-playground, .input-playground-full-width {
width: 250px;
background: beige;
padding: 10px;
font-size: 14px;
}

.input-playground-full-width {
width: 100%;
box-sizing: border-box;
}

.menu-playground {
list-style: none;
}
2 changes: 1 addition & 1 deletion test/templates/time/component.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ time:
<div class="fd-time__control">
<button class="btn-playground"></button>
</div>
<input class="fd-time__input input-playground" type="text" placeholder="{{properties.placeholder}}" value="{{properties.value}}" id="{{ _id }}" aria-label="{{properties.label | capitalize }}"/>
<input class="fd-time__input input-playground-full-width" type="text" placeholder="{{properties.placeholder}}" value="{{properties.value}}" id="{{ _id }}" aria-label="{{properties.label | capitalize }}"/>
<div class="fd-time__control">
<button class="btn-playground"></button>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dcc3303

Please sign in to comment.