Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit fa5cd58

Browse files
authored
Merge pull request #1552 from kkukelka/fix/price-chart-improvements
fix: mobile chart size on landscape mode
2 parents 962d507 + d31084d commit fa5cd58

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

components/rmrk/Gallery/CollectionPriceChart.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,19 @@ export default class PriceChart extends mixins(ChainMixin) {
208208
209209
.chart-container {
210210
position: relative;
211-
height: 400px;
211+
height: 45vh;
212212
width: 100%
213213
}
214+
@media screen and (orientation: landscape) {
215+
.chart-container {
216+
height: 80vh;
217+
}
218+
}
219+
@include tablet-only {
220+
.chart-container {
221+
height: 80vh;
222+
}
223+
}
214224
@include desktop {
215225
.chart-container {
216226
height: 656px;

0 commit comments

Comments
 (0)