Skip to content

Commit f29716f

Browse files
committed
Add support for tab stack spine style and fix #631
1 parent 16eaff6 commit f29716f

File tree

10 files changed

+59
-5
lines changed

10 files changed

+59
-5
lines changed

Minimal.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,9 @@ body:not(.minimal-status-off) .status-bar {
10321032
.tab-stack-bottom-flipped {
10331033
--tab-stacked-text-align: right; }
10341034

1035+
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner {
1036+
flex-direction: var(--tab-stacked-spine-order); }
1037+
10351038
/* Title Bar */
10361039
.view-header-title-parent,
10371040
.view-header-title {
@@ -2385,6 +2388,8 @@ table.dataview tbody > tr > td {
23852388
line-height: var(--line-height-tight); }
23862389
.list-cards.markdown-preview-view div > ul .contains-task-list {
23872390
padding-inline-start: calc(var(--cards-padding)*1.5); }
2391+
.list-cards.markdown-preview-view div > ul > li.task-list-item > .task-list-item-checkbox {
2392+
margin-inline-start: 3px; }
23882393
.list-cards.markdown-preview-view div > ul > li {
23892394
background-color: var(--cards-background);
23902395
padding: calc(var(--cards-padding)/2);
@@ -8555,6 +8560,18 @@ settings:
85558560
-
85568561
label: Center flipped
85578562
value: tab-stack-center-flipped
8563+
-
8564+
id: tab-stacked-spine-order
8565+
title: Spine element order
8566+
type: variable-select
8567+
default: row
8568+
options:
8569+
-
8570+
label: Default
8571+
value: row
8572+
-
8573+
label: Reversed
8574+
value: row-reverse
85588575
-
85598576
id: tags
85608577
title: Tags

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Minimal",
3-
"version": "7.7.16",
3+
"version": "7.7.17",
44
"minAppVersion": "1.6.1",
55
"author": "@kepano",
66
"authorUrl": "https://twitter.com/kepano",

src/css/main.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/style-settings.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,18 @@ settings:
16721672
-
16731673
label: Center flipped
16741674
value: tab-stack-center-flipped
1675+
-
1676+
id: tab-stacked-spine-order
1677+
title: Spine element order
1678+
type: variable-select
1679+
default: row
1680+
options:
1681+
-
1682+
label: Default
1683+
value: row
1684+
-
1685+
label: Reversed
1686+
value: row-reverse
16751687
-
16761688
id: tags
16771689
title: Tags

src/scss/app/tab-stacks.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@
1515
.tab-stack-bottom-flipped {
1616
--tab-stacked-text-align: right;
1717
}
18+
19+
.workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner {
20+
flex-direction: var(--tab-stacked-spine-order);
21+
}

src/scss/features/cards.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,10 @@ table.dataview {
287287
padding-inline-start: calc(var(--cards-padding)*1.5);
288288
}
289289

290+
> li.task-list-item > .task-list-item-checkbox {
291+
margin-inline-start: 3px;
292+
}
293+
290294
> li {
291295
background-color: var(--cards-background);
292296
padding: calc(var(--cards-padding)/2);

theme.css

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)