Skip to content

Commit

Permalink
Fix creators input styling on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tnajdek committed Jul 1, 2021
1 parent 73033e3 commit 837f86d
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/scss/components/_creators.scss
Expand Up @@ -87,7 +87,9 @@
}
}

justify-content: flex-end;
@media (min-width: $bp-md) {
justify-content: flex-end;
}

.input-group {
flex: 0 0 auto;
Expand All @@ -110,6 +112,11 @@
padding: 0;
box-shadow: none;

@media (max-width: $bp-md - 1px) {
flex-direction: row-reverse;
padding: ($input-btn-padding-y-sm + 1px) 0;
}

@include state(".select-component:hover", ".select-component.is-focused") {
@include state(".select-component:not(.is-disabled)") {
cursor: pointer;
Expand Down Expand Up @@ -185,13 +192,14 @@
}
}

@media (min-width: $bp-md) {
> *:not(:first-child) {
margin-left: 2px;
}

> *:not(:first-child) {
margin-left: 2px;
}

> *:not(:last-child) {
margin-right: 2px;
> *:not(:last-child) {
margin-right: 2px;
}
}

.editable {
Expand Down

0 comments on commit 837f86d

Please sign in to comment.