---
title: "Important: Button groups and tables keep a margin"
manual: "Frontend Theme for Extension Development"
version: "main"
source: "Changelog/2.0/Important-ButtonGroupAndTableMargin.rst"
modified: "2026-09-17T04:52:50+00:00"
---

# Important: Button groups and tables keep a margin

## Description

The button group, `.theme-button-group`, and the wrapper of a table,
`.theme-table-wrapper`, now end on a bottom margin, the one every other
block of the component library ends on - a list, a figure, a code block, a
paragraph. Before, the component after them touched them: a list right under a
row of buttons, a figure right under the border of a table.

## Impact

Whatever follows a row of buttons or a table moves down by
`var(--theme-space-4)`, 20 pixels. That includes the table content
element, which renders its table in the wrapper. A button group or a table at
the end of a box - a panel, a band - leaves that margin inside the box, as a
list or a paragraph already did.

A site package that wants the previous spacing sets the margin back in its own
CSS, included after `theme.css`:

```css
.theme-button-group,
.theme-table-wrapper {
    margin-block-end: 0;
}
```
