mobile adaptation
Gitea Actions Demo / build_and_push (push) Failing after 34s
Details
Gitea Actions Demo / build_and_push (push) Failing after 34s
Details
This commit is contained in:
parent
ea1c8105f9
commit
3bcf10f788
|
|
@ -56,8 +56,8 @@
|
||||||
"users": "Users",
|
"users": "Users",
|
||||||
"projects": "Projects",
|
"projects": "Projects",
|
||||||
"workouts": "Тренировки",
|
"workouts": "Тренировки",
|
||||||
"upload_workouts": "Загрузить тренировку",
|
"upload_workouts": "Загрузить",
|
||||||
"list_workouts": "Лента"
|
"list_workouts": "Мои"
|
||||||
},
|
},
|
||||||
"messages": {
|
"messages": {
|
||||||
"all": "See all messages",
|
"all": "See all messages",
|
||||||
|
|
|
||||||
|
|
@ -112,4 +112,7 @@ const onCloseSidebarButtonClick = () => {
|
||||||
width: unset !important;
|
width: unset !important;
|
||||||
min-width: unset !important;
|
min-width: unset !important;
|
||||||
}
|
}
|
||||||
|
body {
|
||||||
|
min-width: 350px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ export const GetWorkout = (url: string) => {
|
||||||
datasets: datasets
|
datasets: datasets
|
||||||
|
|
||||||
}
|
}
|
||||||
if (response.data.workout.external_links && response.data.workout.external_links.values) {
|
if (response.data.workout.external_links && response.data.workout.external_links.values && response.data.workout.external_links.values.length > 0) {
|
||||||
dzenLink = response.data.workout.external_links.values[0].value;
|
dzenLink = response.data.workout.external_links.values[0].value;
|
||||||
}
|
}
|
||||||
return { workoutItem, mapCenter, lineCoordinates, data, dzenLink };
|
return { workoutItem, mapCenter, lineCoordinates, data, dzenLink };
|
||||||
|
|
|
||||||
|
|
@ -334,8 +334,8 @@ const resetChartZoom = () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
min-width: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workout-map {
|
#workout-map {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
}
|
}
|
||||||
|
|
@ -344,6 +344,30 @@ const resetChartZoom = () => {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
padding: 0 0 0 20px;
|
padding: 0 0 0 20px;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 550px) {
|
||||||
|
#workout-container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
#workout-map {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#workout-short-data {
|
||||||
|
margin: 11px auto 0 auto;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 551px) and (max-width: 805px) {
|
||||||
|
#workout-container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
#workout-map {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
#workout-short-data {
|
||||||
|
width: 50%;
|
||||||
|
margin: 11px auto 0 auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
h3 {
|
h3 {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue