mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
style donations info for mobile
This commit is contained in:
parent
2cd7ee9ac6
commit
d15a1a8105
@ -46,5 +46,12 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
@media (max-width: 546px) {
|
||||||
|
width: 100%;
|
||||||
|
height: 50%;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: $space-x-small;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="progress-bar">
|
<div class="progress-bar">
|
||||||
<h4 v-if="title" class="progress-bar__title">{{ title }}</h4>
|
|
||||||
<div class="progress-bar__goal"></div>
|
<div class="progress-bar__goal"></div>
|
||||||
<div class="progress-bar__progress" :style="progressBarWidth"></div>
|
<div class="progress-bar__progress" :style="progressBarWidth"></div>
|
||||||
|
<h4 v-if="title" class="progress-bar__title">{{ title }}</h4>
|
||||||
<span v-if="label" class="progress-bar__label">{{ label }}</span>
|
<span v-if="label" class="progress-bar__label">{{ label }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -39,6 +39,15 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
margin-right: $space-x-small;
|
margin-right: $space-x-small;
|
||||||
|
|
||||||
|
@media (max-width: 680px) {
|
||||||
|
width: 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 546px) {
|
||||||
|
flex-basis: 50%;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress-bar__title {
|
.progress-bar__title {
|
||||||
@ -46,6 +55,10 @@ export default {
|
|||||||
top: -2px;
|
top: -2px;
|
||||||
left: $space-xx-small;
|
left: $space-xx-small;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
|
@media (max-width: 546px) {
|
||||||
|
top: $space-xx-small;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress-bar__goal {
|
.progress-bar__goal {
|
||||||
|
|||||||
@ -265,11 +265,20 @@ export default {
|
|||||||
.sorting-dropdown {
|
.sorting-dropdown {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@media (max-width: 680px) {
|
||||||
|
width: 180px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-info-bar {
|
.top-info-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
|
||||||
|
@media (max-width: 546px) {
|
||||||
|
grid-row-end: span 3 !important;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user