Skip to content

Commit

Permalink
web: update responsive mobile and < 900px width
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Nov 26, 2024
1 parent 5c440bb commit bd0773f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
20 changes: 16 additions & 4 deletions web_viewer/fe_src/src/components/SystemInformation.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@
}

.consumption {
top: -73px;
left: -55px;
top: -60px;
}

.battery-type {
Expand Down Expand Up @@ -279,7 +279,7 @@

.eps {
position: relative;
top: -30px;
top: -25px;
}

.grid {
Expand All @@ -289,6 +289,10 @@
.system-title-text {
font-size: 16px;
}

.y-arrow + .y-arrow {
margin-top: -8px;
}
}

@media screen and (max-width: 768px) {
Expand Down Expand Up @@ -337,8 +341,8 @@
}

.consumption {
left: -36px;
top: -40px;
left: -38px;
top: -55px;
}


Expand All @@ -365,9 +369,17 @@
left: -23px;
}

.eps {
top: -22px;
}

.eps-status {
font-size: 14px;
}

.y-arrow + .y-arrow {
margin-top: -6px;
}
}

@media (prefers-color-scheme: light) {
Expand Down
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions web_viewer/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/png" href="/lux-logo-32.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LuxPower realtime web viewer</title>
<script type="module" crossorigin src="/assets/index-_IVR_YYv.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BHVuaFc-.css">
<script type="module" crossorigin src="/assets/index-CscI8SDn.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-yLQ7FZ0B.css">
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit bd0773f

Please sign in to comment.