Skip to content

Commit

Permalink
Feat/CenterDashboardTitle (#445)
Browse files Browse the repository at this point in the history
* Center select your dashboard title

* Add line at the end of file
  • Loading branch information
jaimeatstariongroup authored Sep 8, 2023
1 parent ce3541b commit c4280a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion COMET.Web.Common/Components/Dashboard.razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
@using COMET.Web.Common.Enumerations
@namespace COMET.Web.Common.Components
<div id="dashboard" class="container-fluid dashboard">
<h3 id="dashboard-title">@(this.ConfigurationService.GetText(TextConfigurationKind.LandingPageTitle))</h3>
<div class="dashboard-title-container">
<h3 id="dashboard-title">@(this.ConfigurationService.GetText(TextConfigurationKind.LandingPageTitle))</h3>
</div>
<div class="row justify-content-center dashboard__cards">
@foreach (var application in this.RegistrationService.RegisteredApplications)
{
Expand Down
13 changes: 10 additions & 3 deletions COMET.Web.Common/Components/Dashboard.razor.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#dashboard-title{
text-align:center;
}
.dashboard-title-container{
width:100%;
display:flex;
justify-content:center;
align-items:center;
}

#dashboard-title{
margin:0;
}

0 comments on commit c4280a1

Please sign in to comment.