Skip to content

Commit 3ff5311

Browse files
committed
fix: remove gap between sticky months and pane header
1 parent efdb1c4 commit 3ff5311

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

src/app/components/feature/BudgetGroups.vue

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -172,27 +172,21 @@ const reorder = (evt: ReorderEvent) => {
172172
font-weight: var(--font-weight-m);
173173
padding-right: 20px;
174174
padding-bottom: 5px;
175-
176175
position: sticky;
177176
position: -webkit-sticky;
178177
top: 0;
179178
background: var(--app-background);
180179
border: 2px var(--app-background);
180+
z-index: 1;
181181
182182
&.current > span {
183183
color: var(--c-text-light);
184184
display: inline-block;
185185
position: relative;
186186
z-index: 0;
187-
188-
&::before {
189-
content: '';
190-
position: absolute;
191-
inset: -3px -8px;
192-
border-radius: 100px;
193-
background: var(--c-primary);
194-
z-index: -1;
195-
}
187+
text-decoration: underline;
188+
text-decoration-color: var(--c-primary);
189+
text-decoration-thickness: 2px;
196190
}
197191
198192
> span {

src/app/components/feature/Pane.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ useScrollShadow(header, content, 'var(--app-scroll-box-shadow)');
7171
.content {
7272
overflow: auto;
7373
flex-grow: 1;
74-
padding: 3px 10px 0;
74+
padding: 0 10px 0;
7575
}
7676
7777
@include globals.onMobileDevices {
@@ -90,7 +90,7 @@ useScrollShadow(header, content, 'var(--app-scroll-box-shadow)');
9090
}
9191
9292
.content {
93-
padding: 10px;
93+
padding: 0;
9494
}
9595
}
9696
</style>

0 commit comments

Comments
 (0)