style: Different styled headers
This commit is contained in:
parent
4923ccf30c
commit
ff9fdc7982
@ -9,7 +9,7 @@ class WelcomeWidget extends Widget {
|
||||
const widgetDiv = createElement('div');
|
||||
widgetDiv.classList.add('widget', 'welcome-widget');
|
||||
widgetDiv.innerHTML = `
|
||||
<div class="widget-header">Welcome to the Dashboard</div>
|
||||
<div class="widget-header centered-header">Welcome to the Dashboard</div>
|
||||
<div class="widget-body">
|
||||
This is your dashboard. More widgets will be added here.
|
||||
</div>
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user