fix graph

This commit is contained in:
Владимир Фёдоров 2025-12-06 16:59:28 +07:00
parent 3512950517
commit 9b499867ac
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
build: build:
@echo "Build static files"
npm run build npm run build
@echo "Remove old version from server repository"
rm -rf ../evening_detective/cmd/evening_detective/static/admin rm -rf ../evening_detective/cmd/evening_detective/static/admin
@echo "Copy new version to server repository"
cp -r dist ../evening_detective/cmd/evening_detective/static/admin cp -r dist ../evening_detective/cmd/evening_detective/static/admin

View File

@ -35,7 +35,7 @@ onMounted(async () => {
<style scoped> <style scoped>
.graph-container { .graph-container {
width: 100%; width: 100%;
height: 700px; height: calc(100vh - 50px);
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
border-radius: 8px; border-radius: 8px;
} }