Skip to content

Commit

Permalink
Fixed size of search bar and length of progress animation
Browse files Browse the repository at this point in the history
  • Loading branch information
pastelsky committed Sep 9, 2017
1 parent 3298019 commit 97590de
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/components/AutocompleteInput/AutocompleteInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@
overflow: visible;

@media screen and (max-width: 40em) {
width: 20px;
height: 20px;
width: 16px;
height: 16px;
}

path {
Expand Down
2 changes: 1 addition & 1 deletion client/components/ProgressSquare/ProgressSquare.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class ProgressSquare extends Component {
resolving: 3 + Math.random() * 2,
building: 5 + Math.random() * 3,
minifying: 3 + Math.random() * 2,
calculating: 0,
calculating: 20,
}

const order = [
Expand Down
14 changes: 13 additions & 1 deletion pages/result/ResultPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,24 @@
align-items: center;
justify-content: center;


@media screen and (max-width: 40em) {
padding: 0 $global-spacing * 2;
}
}

.result-header__search-input {
width: 45vw;
max-width: 580px;

@media screen and (max-width: 48em) {
width: 70vw;
}

@media screen and (max-width: 40em) {
width: 85vw;
}
}

.flash-message {
@include font-size-sm;
padding: $global-spacing / 3 $global-spacing * 2;
Expand Down

0 comments on commit 97590de

Please sign in to comment.