Skip to content

Commit

Permalink
fix the home screen's project row card size on mobile (#9711)
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll authored Oct 9, 2023
1 parent 8b59dff commit 211f050
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions theme/themes/pxt/views/card.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,28 @@ a.ui.card:focus,
/* Mobile only */
@media only screen and (max-width: @largestMobileScreen) {
.projectsdialog {
// tutorial cards
.ui.card.example {
height: 9rem;

.ui.image, .ui.cardimage {
height: 8.4rem !important;
}
}

// project cards
.ui.card.link {
height: 9rem;

// new project card +
i.huge.icon {
font-size: 2.5em;
}
}

.ui.card.link.blocksprj .ui.fileimage {
margin-left: -4px;
}
}
}
}
Expand Down

0 comments on commit 211f050

Please sign in to comment.