diff --git a/src/DashboardView/Dashboard.vue b/src/DashboardView/Dashboard.vue index bdc1f54..37b654c 100644 --- a/src/DashboardView/Dashboard.vue +++ b/src/DashboardView/Dashboard.vue @@ -55,7 +55,8 @@ export default { }; - diff --git a/src/DashboardView/style.scss b/src/DashboardView/style.scss index 51d98ab..4615e28 100644 --- a/src/DashboardView/style.scss +++ b/src/DashboardView/style.scss @@ -1,3 +1,7 @@ +$panel-size: 500px; +$panel-padding: 5px; +$panel-work-area: $panel-size - 2 * $panel-padding; + $component-padding-x: 4px; $component-padding-y: 2px; @@ -11,6 +15,7 @@ $waring-color: #d49e00; %table { width: 100%; + max-width: 100%; border-collapse: collapse; margin: 6px auto 0; diff --git a/src/VillageState.ts b/src/VillageState.ts index be02c12..3c5f5e3 100644 --- a/src/VillageState.ts +++ b/src/VillageState.ts @@ -76,6 +76,7 @@ interface VillageOwnState { storageOptimumFullness: Resources; isOverflowing: boolean; queues: VillageProductionQueueStateDict; + tasks: Array; firstReadyTask: Task | undefined; /** * Required resources for nearest task @@ -257,6 +258,7 @@ function createVillageOwnState( storageOptimumFullness, isOverflowing, queues, + tasks: taskCollection.getTasks(), firstReadyTask, frontierRequired: makeResourceBalance(frontierResources, resources, performance), totalRequired: makeResourceBalance(totalRequiredResources, resources, performance),