탑바 고정

This commit is contained in:
nevermoregb 2025-03-06 16:19:11 +09:00
parent 85f197b001
commit 8636bd1ab9

View File

@ -7,6 +7,7 @@
<div class="layout-page"> <div class="layout-page">
<!-- Top --> <!-- Top -->
<TheTop /> <TheTop />
<!-- Content --> <!-- Content -->
<div class="content-wrapper"> <div class="content-wrapper">
<slot name="content"> body </slot> <slot name="content"> body </slot>
@ -48,7 +49,6 @@
}); });
</script> </script>
<style> <style>
/* 중앙 콘텐츠 자동 조정 */ /* 중앙 콘텐츠 자동 조정 */
.layout-page { .layout-page {
flex-grow: 1; flex-grow: 1;
@ -56,4 +56,18 @@
margin-right: 20%; /* 채팅 사이드바의 너비만큼 밀리도록 설정 */ margin-right: 20%; /* 채팅 사이드바의 너비만큼 밀리도록 설정 */
} }
/* top bar 고정1 */
.layout-navbar-fixed .layout-navbar {
position: relative;
top: 0;
right: auto;
left: 0 !important;
width: 96% !important;
padding-top: 0 !important;
}
/* top bar 고정2 */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
padding-top: 0 !important;
}
</style> </style>