Skip to content

Commit

Permalink
fix: display the Device component correctly on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mobily committed Apr 21, 2024
1 parent b4d1c4b commit 2f76d02
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/components/Device.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
.root {
display: flex;
flex-direction: row;

@media (max-width: 480px) {
transform: scale(0.8);
}

@media (max-width: 380px) {
transform: scale(0.7);
}

@media (max-width: 330px) {
transform: scale(0.6);
}

@media (max-width: 310px) {
transform: scale(0.5);
}
}

.title {
Expand Down

0 comments on commit 2f76d02

Please sign in to comment.