Skip to content

Commit e220742

Browse files
committed
Fixed small display inconsistencies in the shell component with the new sidebar feature.
fixes #556
1 parent 11b95b7 commit e220742

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Updated SQL parser to [v0.50.0](https://github.com/sqlparser-rs/sqlparser-rs/blob/main/CHANGELOG.md#0500-2024-08-15)
77
- Support postgres String Constants with Unicode Escapes . Fixes https://github.com/lovasoa/SQLpage/discussions/511
88
- New [big_number](https://sql.datapage.app/documentation.sql?component=big_number#component) component to display key statistics and indicators in a large, easy-to-read format. Useful for displaying KPIs, metrics, and other important numbers in dashboards and reports.
9+
- Fixed small display inconsistencies in the shell component with the new sidebar feature.
910

1011
## 0.27.0 (2024-08-17)
1112

sqlpage/templates/shell.handlebars

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<button class="navbar-toggler collapsed" type="button" data-bs-target="#sidebar-menu" aria-controls="sidebar-menu" data-bs-toggle="collapse" aria-expanded="false" aria-label="Toggle navigation">
155155
<span class="navbar-toggler-icon"></span>
156156
</button>
157-
<h1 class="navbar-brand navbar-brand-autodark d-inline">
157+
<h1 class="navbar-brand navbar-brand-autodark d-inline ps-2">
158158
<a style="text-decoration: none" href="{{#if link}}{{link}}{{else}}/{{/if}}">
159159
{{#if image}}
160160
<img src="{{image}}" alt="{{title}}" height="32" class="navbar-brand-image">
@@ -201,16 +201,17 @@
201201
<main class="page-body container-xl pt-3 px-md-5 px-sm-3 {{#if fixed_top_menu}}mt-5{{#unless (eq layout 'boxed')}}pt-5{{/unless}}{{/if}}" id="sqlpage_main_wrapper">
202202
{{~#each_row~}}{{~/each_row~}}
203203
</main>
204+
205+
<footer class="w-100 text-center fs-6 my-2 text-secondary" id="sqlpage_footer">
206+
{{#if footer}}
207+
{{{markdown footer}}}
208+
{{else}}
209+
<!-- You can change this footer using the 'footer' parameter of the 'shell' component -->
210+
Built with <a class="text-reset" href="https://sql.datapage.app"
211+
title="SQLPage v{{buildinfo 'CARGO_PKG_VERSION'}}">SQLPage</a>
212+
{{/if}}
213+
</footer>
204214
</div>
205-
<footer class="w-100 text-center fs-6 my-2 text-secondary" id="sqlpage_footer">
206-
{{#if footer}}
207-
{{{markdown footer}}}
208-
{{else}}
209-
<!-- You can change this footer using the 'footer' parameter of the 'shell' component -->
210-
Built with <a class="text-reset" href="https://sql.datapage.app"
211-
title="SQLPage v{{buildinfo 'CARGO_PKG_VERSION'}}">SQLPage</a>
212-
{{/if}}
213-
</footer>
214215
</div>
215216
</body>
216217
</html>

0 commit comments

Comments
 (0)