diff --git a/frontend/src/components/ExperimentFilters.vue b/frontend/src/components/ExperimentFilters.vue index 5023fb2..e0bb183 100644 --- a/frontend/src/components/ExperimentFilters.vue +++ b/frontend/src/components/ExperimentFilters.vue @@ -45,6 +45,9 @@ >
+
+ {{ $t('vulnerability_analysis') }} +
+
+ {{ $t('vulnerability_analysis') }} +
diff --git a/frontend/src/components/charts/RunResultsFragilitiesChart.vue b/frontend/src/components/charts/RunResultsFragilitiesChart.vue index d5df8d5..00fab1a 100644 --- a/frontend/src/components/charts/RunResultsFragilitiesChart.vue +++ b/frontend/src/components/charts/RunResultsFragilitiesChart.vue @@ -48,7 +48,7 @@ const layout = { l: 50, // Left margin r: 10, // Right margin b: props.compact ? 30 : 50, // Bottom margin - t: 50, // Top margin + t: props.compact ? 10 : 50, // Top margin }, height: props.compact ? 300 : undefined, showLegend: !props.compact, diff --git a/frontend/src/i18n/en/index.ts b/frontend/src/i18n/en/index.ts index d6315f9..1bdf46b 100644 --- a/frontend/src/i18n/en/index.ts +++ b/frontend/src/i18n/en/index.ts @@ -199,6 +199,7 @@ export default { 'The 3D model can be rotated by moving the cursor while the building is selected. Use two finger or mouse wheel to zoom in/out.', vtk_notice: 'The codes for generating the .vtk files for visualizing the geometry of the equivalent frame model (EFM) were developed by Jose Gallardo Briones at EESD.', + vulnerability_analysis: 'Vulnerability analysis', show_vulnerability: 'Show vulnerability plots', wall_connections: 'Wall-to-wall connections', wall_leaves_nb_short: 'Wall-leaves',