diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-07-31 14:50:32 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-07-31 14:50:32 +0100 |
| commit | f10546a60fce9439c3f3e6e726b11c2deb7cbdb2 (patch) | |
| tree | 258370e3e7d29d8652945860fa86825c68cd5c8a /code/ui/PlayerInfo.razor | |
| parent | 5b3a48aa5f72806c8d9aa9d4747f159b64c6b0be (diff) | |
Tweak UI elements
Diffstat (limited to 'code/ui/PlayerInfo.razor')
| -rw-r--r-- | code/ui/PlayerInfo.razor | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/code/ui/PlayerInfo.razor b/code/ui/PlayerInfo.razor index 9c23586..131b278 100644 --- a/code/ui/PlayerInfo.razor +++ b/code/ui/PlayerInfo.razor @@ -11,15 +11,6 @@ playerinfo { width: 100vw;
height: 100vh;
}
-.box {
- background-color: rgba(0, 0, 0, 0.20);
- backdrop-filter-blur: 8px;
- display: flex;
- align-items: center;
- flex-direction: row;
- gap: 10px;
- padding: 10px;
-}
.playerinfo {
position: absolute;
left: 30px;
@@ -32,13 +23,13 @@ playerinfo { }
</style>
-<div class="playerinfo box">
+<box class="playerinfo">
<Health Colour="@GetCharacterColour()"></Health>
<NameInfo Colour="@GetCharacterColour()"></NameInfo>
-</div>
-<div class="teaminfo box">
+</box>
+<box class="teaminfo">
<TeamInfo Colour="@GetTeamColour()"></TeamInfo>
-</div>
+</box>
@code
{
|
