status-bar: fix height styling

Since this is display: flex, it needs min/max-height instead of plain
height.
This commit is contained in:
David Lechner
2023-04-05 19:27:48 -05:00
committed by David Lechner
parent f3fa216644
commit a28ea572ae
+3 -2
View File
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2020-2022 The Pybricks Authors
// Copyright (c) 2020-2023 The Pybricks Authors
// Custom styling for the StatusBar control.
@@ -8,7 +8,8 @@
.pb-status-bar {
background-color: pb.$pybricks-blue;
height: pb.$status-bar-height;
min-height: pb.$status-bar-height;
max-height: pb.$status-bar-height;
width: 100vw;
padding-inline: 5px;
display: flex;