Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Screen size check and change display color #98

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/component/Display.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
flex: 0 0 auto;
width: 100%;
}

@media screen and (min-width: 0px) and (max-width: 500px) {
.component-display { background-color: red; }
}
.component-display > div {
font-size: 2.5rem;
padding: 0.2rem 0.7rem 0.1rem 0.5rem;
Expand Down