[release-2.14] fix: layout height triggers page background color not fully filling scroll area (#5775)

Co-authored-by: aero <44799877+AeroWang@users.noreply.github.com>
release-2.14 v2.14.1
Halo Dev Bot 2024-04-23 14:42:27 +08:00 committed by GitHub
parent 4eb205ba66
commit 7e829a5aa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ onMounted(() => {
</script> </script>
<template> <template>
<div class="flex h-full"> <div class="flex min-h-screen">
<aside <aside
class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col" class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col"
> >

View File

@ -100,7 +100,7 @@ body {
html, html,
body, body,
#app { #app {
height: 100%; min-height: 100vh;
} }
*, *,

View File

@ -108,7 +108,7 @@ const disallowAccessConsole = computed(() => {
</script> </script>
<template> <template>
<div class="flex h-full"> <div class="flex min-h-screen">
<aside <aside
class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col" class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col"
> >