Skip to content

Commit 1bfc6fc

Browse files
committed
tweaks for bases with table-100
1 parent ac26bd8 commit 1bfc6fc

File tree

7 files changed

+33
-4
lines changed

7 files changed

+33
-4
lines changed

Minimal.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,6 +2096,14 @@ body {
20962096
--table-wrapper-width: auto;
20972097
}
20982098

2099+
.bases-view[data-view-type=table] {
2100+
--bases-embed-border-width: var(--bases-table-embed-border-width);
2101+
}
2102+
2103+
.bases-view[data-view-type=cards] {
2104+
padding: var(--bases-cards-embed-padding);
2105+
}
2106+
20992107
.table-wide,
21002108
.table-max,
21012109
.table-100 {
@@ -2130,6 +2138,8 @@ body {
21302138
--table-drag-padding: var(--table-drag-space) 0;
21312139
--table-wrapper-width: min(fit-content, 100%);
21322140
--bases-embed-border-width: 0;
2141+
--bases-table-embed-border-width: 0;
2142+
--bases-cards-embed-padding: 0 128px;
21332143
--bases-header-padding-end: var(--size-4-2);
21342144
--bases-header-padding-start: var(--size-4-2);
21352145
/* Place drag handles inside the cell when width is 100% */

src/css/main.css

Lines changed: 10 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/scss/features/block-width.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ body {
198198
--table-wrapper-width: auto;
199199
}
200200

201+
.bases-view[data-view-type="table"] {
202+
--bases-embed-border-width: var(--bases-table-embed-border-width);
203+
}
204+
.bases-view[data-view-type="cards"] {
205+
padding: var(--bases-cards-embed-padding);
206+
}
207+
201208
.table-wide,
202209
.table-max,
203210
.table-100 {
@@ -227,6 +234,8 @@ body {
227234
--table-drag-padding: var(--table-drag-space) 0;
228235
--table-wrapper-width: min(fit-content, 100%);
229236
--bases-embed-border-width: 0;
237+
--bases-table-embed-border-width: 0;
238+
--bases-cards-embed-padding: 0 12px;
230239

231240
.table-col-btn {
232241
cursor: default !important;

theme.css

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)