mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-22 09:56:23 +01:00
Fix justifying when no timestamp exists
This commit is contained in:
parent
9c9ccae4e9
commit
e12bea9af3
@ -11,22 +11,26 @@
|
||||
padding-block: 5px;
|
||||
padding-inline: 10px;
|
||||
gap: 5px;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
border-inline-start: 2px solid var(--primary-color);
|
||||
}
|
||||
|
||||
.floatingRefreshSection:has(.lastRefreshTimestamp + .refreshButton) {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.floatingRefreshSection.sideNavOpen {
|
||||
inline-size: calc(100% - 200px);
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
.floatingRefreshSection, .floatingRefreshSection.sideNavOpen {
|
||||
inline-size: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.lastRefreshTimestamp {
|
||||
text-align: center;
|
||||
margin-block: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
.floatingRefreshSection, .floatingRefreshSection.sideNavOpen {
|
||||
inline-size: 100%;
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
<template>
|
||||
<div
|
||||
class="floatingRefreshSection"
|
||||
:class="{ sideNavOpen: isSideNavOpen }"
|
||||
:class="{
|
||||
sideNavOpen: isSideNavOpen
|
||||
}"
|
||||
>
|
||||
<p
|
||||
v-if="lastRefreshTimestamp"
|
||||
|
Loading…
Reference in New Issue
Block a user