Skip to content

Commit a516ef8

Browse files
committed
Add bottom margin to table widgets
1 parent 4cd65a7 commit a516ef8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

great_docs/_tbl_explorer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ def tbl_explorer(
11441144
html = (
11451145
f'<div id="gd-tbl-{uid}" class="gd-tbl-explorer" '
11461146
f'style="padding-left: 0px; overflow: hidden; '
1147-
f'width: 100%; max-width: 100%;">\n'
1147+
f'width: 100%; max-width: 100%; margin-bottom: 1em;">\n'
11481148
f"{base_css}\n"
11491149
f"{explorer_css}\n"
11501150
f'<script type="application/json" class="gd-tbl-data" '

great_docs/_tbl_preview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ def tbl_preview(
13771377
html = (
13781378
f'<div id="gd-tbl-{uid}" class="gd-tbl-preview" '
13791379
f'style="padding-left: 0px; overflow-x: auto; overflow-y: hidden; '
1380-
f'width: 100%; max-width: 100%;">\n'
1380+
f'width: 100%; max-width: 100%; margin-bottom: 1em;">\n'
13811381
f"{css}\n"
13821382
f'<table class="gt_table" data-quarto-disable-processing="true" '
13831383
f'data-quarto-bootstrap="false">\n'

0 commit comments

Comments
 (0)