UI mejorada
This commit is contained in:
@@ -56,7 +56,15 @@ const hasActiveTrack = computed(() => !!props.currentTrack)
|
||||
|
||||
<style scoped>
|
||||
.main-container {
|
||||
height: 90vh;
|
||||
/* Parametrized viewport sizing */
|
||||
--app-vertical-margin: 10px; /* Top/bottom margin between both components */
|
||||
--playback-controls-height: 60px; /* Adjustable height for PlaybackControls */
|
||||
--tracklist-height: calc(100vh - (var(--app-vertical-margin) * 2) - var(--playback-controls-height));
|
||||
|
||||
/* Container takes full viewport minus vertical margins */
|
||||
height: calc(100vh - (var(--app-vertical-margin) * 2));
|
||||
margin-top: var(--app-vertical-margin);
|
||||
margin-bottom: var(--app-vertical-margin);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 1200px;
|
||||
@@ -64,7 +72,9 @@ const hasActiveTrack = computed(() => !!props.currentTrack)
|
||||
padding: 20px;
|
||||
padding-bottom: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
/* Keep shadows visible and allow backdrop to show through */
|
||||
overflow: visible;
|
||||
z-index: 1; /* Ensure content sits above Aurora background */
|
||||
}
|
||||
|
||||
.app-header {
|
||||
@@ -186,7 +196,8 @@ const hasActiveTrack = computed(() => !!props.currentTrack)
|
||||
.main-container {
|
||||
padding: 15px;
|
||||
padding-bottom: 0;
|
||||
height: 92vh;
|
||||
/* Keep same parametrized behavior on mobile */
|
||||
height: calc(100vh - (var(--app-vertical-margin) * 2));
|
||||
}
|
||||
|
||||
.header-content {
|
||||
@@ -275,4 +286,4 @@ const hasActiveTrack = computed(() => !!props.currentTrack)
|
||||
background: var(--accent-primary);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user