Skip to content

Commit a839bfd

Browse files
committed
fix: Resolve layout and design issues
- Remove logo from header navbar - Fix Back to Top button centering with flexbox - Fix Storage Providers duplicate CSS - Optimize content area for full-width layout - Improve overall visual consistency
1 parent 6b33326 commit a839bfd

File tree

3 files changed

+37
-18
lines changed

3 files changed

+37
-18
lines changed

docs/_layouts/default.html

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
<nav class="navbar navbar-expand-lg navbar-dark fixed-top">
8585
<div class="container">
8686
<a class="navbar-brand" href="{{ site.baseurl }}/{{ site.languages_default }}">
87-
<i class="fas fa-brain me-2"></i>
8887
<span class="brand-text">SmartRAG</span>
8988
</a>
9089

@@ -141,23 +140,23 @@
141140
</div>
142141
</nav>
143142

144-
<!-- Main Content -->
145-
<main class="main-content">
146-
<div class="container">
147-
<div class="content-wrapper">
148-
<div class="page-header">
149-
<h1 class="page-title">{{ page.title }}</h1>
150-
{% if page.description %}
151-
<p class="page-description">{{ page.description }}</p>
152-
{% endif %}
153-
</div>
154-
155-
<div class="page-content">
156-
{{ content }}
143+
<!-- Main Content -->
144+
<main class="main-content">
145+
<div class="container-fluid">
146+
<div class="content-wrapper">
147+
<div class="page-header">
148+
<h1 class="page-title">{{ page.title }}</h1>
149+
{% if page.description %}
150+
<p class="page-description">{{ page.description }}</p>
151+
{% endif %}
152+
</div>
153+
154+
<div class="page-content">
155+
{{ content }}
156+
</div>
157157
</div>
158158
</div>
159-
</div>
160-
</main>
159+
</main>
161160

162161
<!-- Footer -->
163162
<footer class="footer">

docs/assets/css/style.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,21 @@ body {
275275
box-shadow: var(--shadow);
276276
border: 1px solid var(--border-color);
277277
margin-top: 2rem;
278+
width: 100%;
279+
max-width: 100%;
278280
}
279281

280-
/* Content Area - Full Width */
281282
.content-area {
282283
padding: 2rem;
284+
width: 100%;
285+
max-width: 100%;
286+
}
287+
288+
.main-content {
289+
margin-top: 80px;
290+
min-height: calc(100vh - 80px);
291+
width: 100%;
292+
max-width: 100%;
283293
}
284294

285295
.page-header {
@@ -409,6 +419,10 @@ body {
409419
visibility: hidden;
410420
transition: all 0.3s ease;
411421
z-index: 1000;
422+
display: flex;
423+
align-items: center;
424+
justify-content: center;
425+
padding: 0;
412426
}
413427

414428
.back-to-top.show {
@@ -421,6 +435,13 @@ body {
421435
box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
422436
}
423437

438+
.back-to-top i {
439+
margin: 0;
440+
padding: 0;
441+
line-height: 1;
442+
display: block;
443+
}
444+
424445
/* Responsive Design */
425446
@media (max-width: 991.98px) {
426447
.content-area {

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ var document = await documentService.UploadDocumentAsync(file);
221221
</div>
222222
<div class="col-md-2 mb-3">
223223
<div class="provider-card text-center p-4">
224-
<div class="provider-card text-center p-4">
225224
<div class="provider-icon">
226225
<i class="fas fa-microchip"></i>
227226
</div>

0 commit comments

Comments
 (0)