Skip to content

Commit

Permalink
Limit icon size on branding page.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Aug 21, 2023
1 parent 137db6a commit 9292ea3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Server/Pages/Branding.razor
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
<br />
@if (!string.IsNullOrWhiteSpace(_base64Icon))
{
<img class="img-fluid" src="data:image/png;base64,@_base64Icon" />
<img class="branding-icon" src="data:image/png;base64,@_base64Icon" />
}
else
{
<img class="img-fluid" src="/images/Remotely_Icon.png" />
<img class="branding-icon" src="/images/Remotely_Icon.png" />
}
</div>

Expand Down
4 changes: 4 additions & 0 deletions Server/Pages/Branding.razor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.branding-icon {
max-width: 8rem;
height: auto;
}

0 comments on commit 9292ea3

Please sign in to comment.