Skip to content

Commit

Permalink
fix: text input flex (#162)
Browse files Browse the repository at this point in the history
- flex to fill parent container
  • Loading branch information
uipoet authored Jan 25, 2022
1 parent 4e25b24 commit aaf0821
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/docs/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
body {
font-size: 1.2rem;
}

form {
display: contents;
}
4 changes: 4 additions & 0 deletions src/lib/components/input/input.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
fill: var(--md-color-primary);
}

.field.flex {
width: 100%;
}

.field.flex > .row {
width: unset;
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/menu/menu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

.fieldset.flex {
display: block;
width: 100%;
}

.menu {
Expand Down

0 comments on commit aaf0821

Please sign in to comment.