mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Some fixes for scaling on small screens
This commit is contained in:
parent
a4c94f55fd
commit
b38b1ba9bc
@ -14,7 +14,7 @@ const Block = (obj) => {
|
||||
<h2 style={{ margin: 0, padding: '0.2em', cursor: 'alias' }}>🔗</h2>
|
||||
</a>
|
||||
<span className="rowAlignRight elipsText">
|
||||
<p className="darkText">UTC 📅{thisDate} - {thisTime.split('.')[0]} </p>
|
||||
<p className="darkText mobileSmallerFont">UTC 📅{thisDate} - {thisTime.split('.')[0]} </p>
|
||||
</span>
|
||||
</div>
|
||||
)
|
||||
|
@ -554,7 +554,10 @@ svg {
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
@media (max-aspect-ratio: 1/1) {
|
||||
@media (max-aspect-ratio: 3/2) {
|
||||
.mobileSmallerFont{
|
||||
font-size: xx-small;
|
||||
}
|
||||
.fullGrafana {
|
||||
width: calc(100vw - 2em);
|
||||
}
|
||||
@ -601,7 +604,7 @@ svg {
|
||||
.elipsOnMobileExtra {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
width: 10vw;
|
||||
width: 12vw;
|
||||
text-align: start;
|
||||
}
|
||||
.mobileNoPadding {
|
||||
|
Loading…
x
Reference in New Issue
Block a user