mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
fix(styling): "no data" caption not considered in height calculations
Change `NoData` container position to `relative`. Otherwise it won't be considered in `auto` height calculations by browsers. Also change the way `NoData` content is centered.
This commit is contained in:
parent
98a60d0d3e
commit
c5e03cd5d4
1 changed files with 7 additions and 4 deletions
|
|
@ -1,8 +1,11 @@
|
||||||
.container {
|
.container {
|
||||||
color: var(--gray500);
|
color: var(--gray500);
|
||||||
font-size: var(--font-size-normal);
|
font-size: var(--font-size-normal);
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: 50%;
|
display: flex;
|
||||||
left: 50%;
|
align-items: center;
|
||||||
transform: translate(-50%, -50%);
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue