Fix sticky file header positioning

This commit is contained in:
Rūdolfs Ošiņš
2024-12-13 14:59:29 +01:00
parent fc5970afcd
commit 6b54c4ab66
5 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -331,7 +331,7 @@
top: 0;
}
.content {
padding: 0 1rem 1rem 0;
padding: 1rem 1rem 1rem 0;
}
.connector {
width: 2px;
@@ -394,7 +394,7 @@
{/snippet}
<div class="content">
<div style:margin-bottom="0.5rem" style:margin-top="-6px">
<div style:margin-bottom="1rem">
{#if editingTitle}
<div class="title">
<TextInput
+1 -1
View File
@@ -40,7 +40,7 @@
font-weight: var(--font-weight-medium);
font-size: var(--font-size-medium);
display: flex;
padding: 0 1rem 0.5rem 1rem;
padding: 1rem 1rem 0.5rem 1rem;
align-items: center;
justify-content: space-between;
}
-1
View File
@@ -127,7 +127,6 @@
}
.content {
padding-top: 1rem;
grid-column: 3 / 4;
width: 100%;
overflow: scroll;
+2 -3
View File
@@ -90,8 +90,7 @@
font-weight: var(--font-weight-medium);
-webkit-user-select: text;
user-select: text;
margin-bottom: 0.5rem;
margin-top: 0.35rem;
margin-bottom: 1rem;
}
.patch-list {
margin-top: 0.5rem;
@@ -101,7 +100,7 @@
padding-bottom: 1rem;
}
.content {
padding: 0 1rem 1rem 0;
padding: 1.5rem 1rem 1rem 0;
}
.patch-body {
+2 -2
View File
@@ -63,10 +63,10 @@
.header {
font-weight: var(--font-weight-medium);
font-size: var(--font-size-medium);
padding: 0 1rem 0.5rem 1rem;
padding: 1rem 1rem 0.5rem 1rem;
display: flex;
align-items: center;
height: 42px;
height: 58px;
}
.breadcrumbs {
display: flex;