Skip to content

Commit

Permalink
ui: Fix widths of icons in Freestyle
Browse files Browse the repository at this point in the history
The border needs to be included in the container width.
  • Loading branch information
backspace committed Apr 11, 2024
1 parent 0fc8f68 commit 0783631
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/boxel-ui/addon/src/components/icon-button/usage.gts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ export default class IconButtonUsage extends Component {
.show-borders .icon {
border: 1px solid var(--boxel-500);
width: calc(var(--boxel-icon-button-width) + 2px);
height: calc(var(--boxel-icon-button-height) + 2px);
}
</style>
</template>
Expand Down

0 comments on commit 0783631

Please sign in to comment.