Skip to content

Commit

Permalink
feat: make sticky header
Browse files Browse the repository at this point in the history
  • Loading branch information
RieLCho committed Oct 12, 2024
1 parent 672a71a commit a48f8d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions reader/src/ASTRv2/header.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<template>
<n-layout-header>
<n-layout-header class="header">
<n-space
item-style="display: flex; "
justify="space-between"
align="center"
class="header"
style="flex-wrap: nowrap"
>
<n-space item-style="display: flex;" align="center">
Expand Down Expand Up @@ -162,9 +161,12 @@ export default {

<style>
.header {
position: sticky;
top: 0;
background-color: #615c4f;
font-weight: bold;
padding: 0px 20px;
z-index: 1000; /* 다른 요소 위에 표시되도록 설정 */
}
.SettingsBtn {
font-size: large;
Expand Down

0 comments on commit a48f8d6

Please sign in to comment.