Skip to content

Commit 7e829a5

Browse files
[release-2.14] fix: layout height triggers page background color not fully filling scroll area (#5775)
Co-authored-by: aero <[email protected]>
1 parent 4eb205b commit 7e829a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ui/console-src/layouts/BasicLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ onMounted(() => {
112112
</script>
113113

114114
<template>
115-
<div class="flex h-full">
115+
<div class="flex min-h-screen">
116116
<aside
117117
class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col"
118118
>

ui/src/components/base-app/BaseApp.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ body {
100100
html,
101101
body,
102102
#app {
103-
height: 100%;
103+
min-height: 100vh;
104104
}
105105
106106
*,

ui/uc-src/layouts/BasicLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const disallowAccessConsole = computed(() => {
108108
</script>
109109

110110
<template>
111-
<div class="flex h-full">
111+
<div class="flex min-h-screen">
112112
<aside
113113
class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col"
114114
>

0 commit comments

Comments
 (0)