Improved entity header logo scaling. Fixed entity scenes sticky footer.
This commit is contained in:
parent
aef0198cab
commit
3254f6a3f2
|
@ -297,6 +297,7 @@ function updateFilter(prop, value, reload = true) {
|
|||
display: flex;
|
||||
background: var(--background-base-10);
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.scenes-header {
|
||||
|
|
|
@ -119,13 +119,11 @@ const scrollable = computed(() => children.value?.scrollWidth > children.value?.
|
|||
.page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
|
@ -133,12 +131,20 @@ const scrollable = computed(() => children.value?.scrollWidth > children.value?.
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
color: var(--text-light);
|
||||
background: var(--grey-dark-50);
|
||||
|
||||
.link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 2.5rem;
|
||||
height: 2rem;
|
||||
max-width: 15rem;
|
||||
padding: .75rem 1rem;
|
||||
object-fit: contain;
|
||||
|
@ -152,6 +158,7 @@ const scrollable = computed(() => children.value?.scrollWidth > children.value?.
|
|||
.favicon {
|
||||
display: none;
|
||||
padding: .75rem 1rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.children-container {
|
||||
|
@ -222,7 +229,11 @@ const scrollable = computed(() => children.value?.scrollWidth > children.value?.
|
|||
}
|
||||
}
|
||||
|
||||
@media(--small-10) {
|
||||
@media(--compact) {
|
||||
.logo {
|
||||
height: 1.25rem;
|
||||
}
|
||||
|
||||
.logo-parent {
|
||||
display: none;
|
||||
}
|
||||
|
@ -230,12 +241,6 @@ const scrollable = computed(() => children.value?.scrollWidth > children.value?.
|
|||
.favicon {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
@media(--compact) {
|
||||
.logo {
|
||||
height: 1.75rem;
|
||||
}
|
||||
|
||||
.expand-text {
|
||||
display: none;
|
||||
|
@ -245,4 +250,16 @@ const scrollable = computed(() => children.value?.scrollWidth > children.value?.
|
|||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media(--small-20) {
|
||||
.logo {
|
||||
height: 1rem;
|
||||
padding: .5rem 1rem;
|
||||
}
|
||||
|
||||
.favicon {
|
||||
height: 1rem;
|
||||
padding: .5rem 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue