Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
<div class="d-flex align-items-start fixed-width-container">
<div class="sticky-container">
<div class="action-box sidebar bg-light">
<slot />
</div>
</div>
</div>
</template>
<script>
export default {};
</script>
<style>
.fixed-width-container {
width: 215px !important;
}
.sticky-container {
position: sticky;
top: 64px;
width: 100%;
}
.action-box {
padding-top: 0.01rem;
padding-bottom: 1rem;
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1),
inset -1px -1px 1px rgba(0, 0, 0, 0.1);
font-size: 0.875rem;
}
.sidebar .nav-item .feather {
margin-right: 4px;
color: #727272;
}
</style>