Skip to content

Commit 6797f26

Browse files
committed
Add media breakpoint for narrow screens
1 parent 3e04111 commit 6797f26

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/app/component/circular-heatmap/circular-heatmap.component.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,35 @@ button.filter-toggle {
139139
flex-direction: column;
140140
}
141141

142+
@media only screen and (max-width: 750px) {
143+
.heatmapClass {
144+
grid-template-rows: auto auto 1fr auto;
145+
grid-template-columns: 1fr;
146+
}
147+
148+
.team-filter, .heatmapChart, .footer-buttons {
149+
grid-column: 1;
150+
}
151+
152+
.team-filter {
153+
grid-row: 1;
154+
padding: 0.4rem;
155+
}
156+
157+
.mat-chip-list {
158+
padding: 0.4rem;
159+
}
160+
161+
.heatmapChart {
162+
grid-row: 2;
163+
}
164+
165+
#chart {
166+
max-width: max(60vh, 60vw);
167+
}
168+
169+
.overlay-details {
170+
width: 100%;
171+
}
172+
173+
}

0 commit comments

Comments
 (0)