# Make tab close button square \(\#4052\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b136d21ebf1332f918eac2e636030ee11c833d65)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b136d21ebf1332f918eac2e636030ee11c833d65

Requested commit: b136d21ebf1332f918eac2e636030ee11c833d65

Commit: b136d21ebf1332f918eac2e636030ee11c833d65

Tree: aa153cfc0be571f5cc26c722ff94da096805446b

Author: Marshall Bowers

Committer: GitHub

## Message

```
Make tab close button square (#4052)

This PR makes the close button for tabs square.

`IconButton` now accepts a `shape`, and using `IconButtonShape::Square`
will ensure the `IconButton` is square with respect to its contained
icon.

#### Before

<img width="119" alt="Screenshot 2024-01-15 at 10 32 40 AM"
src="https://github.com/zed-industries/zed/assets/1486634/dc806b9b-411f-4cd9-8c10-676d2cbd298b">

#### After

<img width="116" alt="Screenshot 2024-01-15 at 10 32 24 AM"
src="https://github.com/zed-industries/zed/assets/1486634/8b4ef43c-14b6-449f-a235-5d7affd82c4e">

Release Notes:

- Changed the tab close button to be square.
```

## Parents

- [1da9c8b1e90d7fa44bf3a3f0d4d930f8dcf2aa52](https://git.cafe/gitcafe/zed/commit/1da9c8b1e90d7fa44bf3a3f0d4d930f8dcf2aa52?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b136d21ebf1332f918eac2e636030ee11c833d65?format=markdown)
