Skip to content

Commit

Permalink
feat(ui): adapt toast for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed Jun 12, 2019
1 parent 1147757 commit fab0e33
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions web/src/components/Toast/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ const ToastItemDiv = styled.div`
line-height: 70px;
text-align: center;
}
@media (max-width: 700px) {
top: 44px;
height: 36px;
.toast__text {
color: white;
font-size: 15px;
line-height: 36px;
text-align: center;
}
}
`
const ToastItem = ({
data,
Expand Down

0 comments on commit fab0e33

Please sign in to comment.