diff --git a/src/pages/DashboardPage.ts b/src/pages/DashboardPage.ts index 9b6c4eb..9dd6f99 100644 --- a/src/pages/DashboardPage.ts +++ b/src/pages/DashboardPage.ts @@ -9,7 +9,7 @@ class WelcomeWidget extends Widget { const widgetDiv = createElement('div'); widgetDiv.classList.add('widget', 'welcome-widget'); widgetDiv.innerHTML = ` -
+ diff --git a/src/style.css b/src/style.css index 30b1b87..12ebfbc 100644 --- a/src/style.css +++ b/src/style.css @@ -58,8 +58,12 @@ body { border-radius: 5px; } -.widget-header { +.centered-header { font-size: 24px; + text-align: center; +} + +.widget-header { margin-bottom: 10px; font-weight: bold; }