Skip to content

Commit a426856

Browse files
committed
Updated style
1 parent 1113ab9 commit a426856

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

components/Overview/index.vue

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export default {
136136
width: 624px;
137137
height: 100%;
138138
background-color: #ffffff;
139+
overflow: auto;
139140
140141
@media only screen and (min-width: 768px) {
141142
height: auto;
@@ -150,28 +151,36 @@ export default {
150151
display: block;
151152
cursor: pointer;
152153
z-index: 1;
153-
transform: translateY(calc(-50% - 16px));
154+
transform: translateY(calc(-50% - 4px));
154155
transition: all .3s;
155156
fill: rgba(0,0,0,.5);
156157
157158
svg {
158159
cursor: pointer;
159160
}
161+
162+
@media only screen and (min-width: 768px) {
163+
transform: translateY(calc(-50% - 16px));
164+
}
160165
}
161166
162167
.content {
168+
margin-bottom: 24px;
163169
color: #000000;
164170
}
165171
166172
.title {
167-
position: relative;
168-
border-bottom: 1px solid #cccccc;
169-
margin: 32px 0 12px;
170-
padding-bottom: 8px;
173+
position: sticky;
174+
top: 0;
175+
z-index: 10;
176+
border-bottom: 1px solid #ccc;
177+
margin-bottom: 12px;
178+
padding: 32px 0 8px;
171179
font-size: 32px;
180+
background: white;
172181
173182
@media only screen and (min-width: 768px) {
174-
margin: 0 0 12px;
183+
padding: 0 0 8px;
175184
}
176185
}
177186

0 commit comments

Comments
 (0)