Skip to content

Commit cc16571

Browse files
committed
update tabler to v1.3
fixes #901 mostly fixes #892 see tabler/tabler#2283 (comment)
1 parent 04e1046 commit cc16571

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
- Update default chart colors and text shadows for better readability with all themes
88
- Optimize memory layout by boxing large structs. Slightly reduces memory usage.
99
- New example: [Rich text editor](./examples/rich-text-editor/). Let your users safely write formatted text with links and images.
10-
- Update the Tabler CSS library to [v1.2](https://tabler.io/changelog#/changelog/tabler-1.2). This fixes issues with
10+
- Update the Tabler CSS library to [v1.3](https://tabler.io/changelog#/changelog/tabler-1.3). This fixes issues with
1111
- the alignment inside chart tooltips
1212
- the display of lists
13+
- update to [tabler incons v1.33](https://tabler.io/changelog#/changelog/tabler-icons-3.33) with many new icons.
1314
- Add an `active` top-level parameter to the shell component to highlight one of the top bar menu items. Thanks to @andrewsinnovations !
1415
- Make the [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP) customization more flexible, allowing you to harden the default security rules. Thanks to @guspower !
1516
- Fix vertically truncated text in the list component on empty descriptions.

sqlpage/sqlpage.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
/* !include https://cdn.jsdelivr.net/npm/@tabler/core@1.2.0/dist/css/tabler.min.css */
1+
/* !include https://cdn.jsdelivr.net/npm/@tabler/core@1.3.1/dist/css/tabler.min.css */
22
/* !include https://cdn.jsdelivr.net/npm/[email protected]/dist/css/tom-select.bootstrap5.css */
3-
/* !include https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/css/tabler-vendors.min.css */
4-
5-
:root {
6-
/* Workaround for https://github.com/tabler/tabler/issues/1879 */
7-
--tblr-text-secondary-rgb: var(--tblr-secondary-rgb);
8-
--tblr-code-color: #073345;
9-
--tblr-code-bg: #e4f1ff;
10-
}
3+
/* !include https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/css/tabler-vendors.min.css */
114

125
.navbar {
136
/* https://github.com/sqlpage/SQLPage/issues/822 */
@@ -50,6 +43,13 @@ td > p {
5043
border: 1px solid transparent !important;
5144
}
5245

46+
/* remove the ugly text highlight in the default tom-select */
47+
.ts-dropdown [data-selectable] .highlight {
48+
background: inherit;
49+
color: inherit;
50+
text-decoration: underline;
51+
}
52+
5353
.page {
5454
/* Leave space for the footer */
5555
min-height: calc(100% - 3rem);

sqlpage/sqlpage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* !include https://cdn.jsdelivr.net/npm/@tabler/core@1.2.0/dist/js/tabler.min.js */
1+
/* !include https://cdn.jsdelivr.net/npm/@tabler/core@1.3.1/dist/js/tabler.min.js */
22
const nonce = document.currentScript.nonce;
33

44
function sqlpage_card() {

sqlpage/tabler-icons.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)