Skip to content

Commit

Permalink
[field] Fix layout selector in FromTo
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 467d996 commit dd8f7d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@sanity/field/src/diff/components/FromTo.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
.root {
display: flex;
align-items: center;
@nest &[data-layout='inline'] {
@nest &[data-from-to-layout='inline'] {
}

@nest &[data-layout='grid'] {
@nest &[data-from-to-layout='grid'] {
/* display: grid;
grid-template-columns: 1fr auto 1fr; */
}
}

.from,
.to {
@nest .root[data-layout='grid'] & {
@nest .root[data-from-to-layout='grid'] & {
flex: 1;
min-width: 0;
}
Expand Down

0 comments on commit dd8f7d0

Please sign in to comment.