Skip to content

Commit

Permalink
styles the autosuggest input
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilitaru committed Nov 24, 2021
1 parent 2281aad commit 1acc5db
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/ui/ons/ONSAutosuggest.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,20 @@
</div>
</div>
</div>

<style lang="scss">
@import "../../../node_modules/@ons/design-system/scss/vars/_index.scss";
@media only screen and (min-width: map-get($grid-bp, s)) {
.ons-input--select:not(.ons-input--block):not(.ons-input-search):not([class*="input--w-"]),
.ons-input--text:not(.ons-input--block):not(.ons-input-search):not([class*="input--w-"]) {
width: 100%;
}
}
@media only screen and (min-width: map-get($grid-bp, m)) {
.ons-col-8\@m {
max-width: 100%;
}
}
</style>

0 comments on commit 1acc5db

Please sign in to comment.