Skip to content

Commit 8835f5e

Browse files
committed
fix(panel): sticky header
1 parent 8b81060 commit 8835f5e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/Panel/Panel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
128128
.panel__main {
129129
.panel__nav__wrapper {
130-
position: sticky;
130+
position: absolute;
131131
top: 0;
132132
left: 0;
133133
right: 0;

components/Panel/PanelItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
<style lang="scss" scoped>
5656
.panel__item {
5757
height: calc(100% - 50px);
58+
margin-top: 50px;
5859
overflow-y: scroll;
5960
overflow-x: hidden;
6061
}

0 commit comments

Comments
 (0)