Skip to content

Commit 75d655e

Browse files
committed
increasing width of main-content area
1 parent a37d89f commit 75d655e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
href="{{.PreviousPage}}"
105105
></bb-navbtn>
106106
<main-container>
107-
<main role="main" class="prose md-content">{{.Body}}</main>
107+
<main id="main-content" role="main" class="prose md-content">{{.Body}}</main>
108108
</main-container>
109109
<bb-navbtn
110110
class=".navbtn"

web/static/css/core/main.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ main-container {
136136
padding-top: 2rem;
137137
}
138138

139+
#main-content {
140+
width: 80%;
141+
}
142+
139143
@media (max-width: 960px) {
140144
#sidenav {
141145
width: 100%;
@@ -214,4 +218,5 @@ tr:nth-child(even) {
214218

215219
tr:nth-child(odd) {
216220
background: rgba(var(--ctp-overlay3), .1)
217-
}
221+
}
222+

0 commit comments

Comments
 (0)