Skip to content

Commit 225c0d0

Browse files
committed
Update: sticky
1 parent e51331c commit 225c0d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rule-select-category.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,14 @@ export default {
118118
<style>
119119
.rule-select-category__header {
120120
display: block;
121+
position: sticky;
122+
top: 0;
121123
padding: 8px;
122124
background-color: #E8F5E9;
123125
border-bottom: 1px solid #4CAF50;
124126
font-weight: bold;
125127
cursor: pointer;
128+
box-shadow: 0 2px 2px rgba(0,0,0, 0.25);
126129
}
127130
.rule-select-category__count {
128131
white-space: nowrap;

0 commit comments

Comments
 (0)