Skip to content

Commit

Permalink
refactor(style): mobile view starts at 672px width (#535)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Peverett <[email protected]>
Co-authored-by: Alessandro Pomponio <[email protected]>
  • Loading branch information
2 people authored and GitHub Enterprise committed May 31, 2024
1 parent 455e9da commit 5f69d0b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/canvas/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ aside .node > * {
flex-grow: 1;
height: 100%;
}
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
.dndflow {
flex-direction: column;
}
Expand Down Expand Up @@ -289,7 +289,7 @@ aside .node > * {
}
}

@media screen and (max-height: 672px) and (max-width: 672px) {
@media screen and (max-height: 672px) and (max-width: 671px) {
aside #controls {
height: 100%;
overflow-y: scroll;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ComponentView/RunPropertiesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ bx-table-header-cell {
margin-top: 0;
}
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
.download-text {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExperimentView/PageHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ dds-cta-block {
padding: 0;
font-size: 16px;
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
padding-top: 2rem;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default {
}
}
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
.card-proportions {
max-height: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default {
}
}
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
#statusChart {
width: 75%;
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/ExperimentView/ExperimentView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -398,15 +398,15 @@ bx-breadcrumb-item {
font-size: calc(16px + (24 - 16) * ((100vw - 42rem) / (1056 - 672)));
margin-bottom: 1rem;
}
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
margin-bottom: 16px;
margin-left: 0;
}
font-size: 1.5em;
}

.ve-copy {
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
margin-left: 0;
}
margin-right: 16px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default {
height: fit-content;
}
@media screen and (max-width: 672px) {
@media screen and (max-width: 671px) {
#basket {
max-width: 300px;
margin-left: 1rem;
Expand Down

0 comments on commit 5f69d0b

Please sign in to comment.