Skip to content

Commit 0db05de

Browse files
committed
fix: Style alignments in sidebars
Signed-off-by: Sbragul26 <sbragul26@gmail.com>
1 parent cd51d11 commit 0db05de

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

assets/scss/_styles_project.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ a:not([href]):not([class]):hover {
232232
height: calc(100vh - 5.5rem);
233233
top: 5.5rem;
234234
overflow-y: auto;
235-
padding-top: 0;
235+
padding-top: 1rem;
236236
margin-top: 0;
237237
overflow-x: hidden;
238238
}
@@ -256,7 +256,7 @@ a:not([href]):not([class]):hover {
256256
.td-sidebar {
257257
height: 100vh;
258258
top: 0;
259-
padding-top: 3rem;
259+
padding-top: 0rem;
260260
}
261261
}
262262

@@ -331,6 +331,7 @@ a:not([href]):not([class]):hover {
331331

332332
// Right sidebar
333333
.td-sidebar-toc {
334+
margin-top: 0rem;
334335
line-height: 1.25rem;
335336
border-left: 1px solid $border-color;
336337
background-image: linear-gradient(to top,

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ github.com/google/docsy v0.14.3 h1:4uFgPWTPj4NT79IboVkXGi49LLQadLVfU4WNOfD/s74=
44
github.com/google/docsy v0.14.3/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU=
55
github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI=
66
github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
7+
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
78
github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

0 commit comments

Comments
 (0)