Use square buttons for code action and run indicators in the gutter (#12906)
### Before <img width="94" alt="Screenshot 2024-06-14 at 1 34 54 PM" src="https://github.com/zed-industries/zed/assets/1486634/fe756434-f072-4506-8fd2-c220c17cf112"> <img width="115" alt="Screenshot 2024-06-14 at 1 35 04 PM" src="https://github.com/zed-industries/zed/assets/1486634/e378f02b-cb55-467d-9a5e-04e162d6daab"> ### After <img width="128" alt="Screenshot 2024-06-14 at 1 34 27 PM" src="https://github.com/zed-industries/zed/assets/1486634/3d857a85-7673-43b1-8c48-56766455dd81"> <img width="134" alt="Screenshot 2024-06-14 at 1 34 33 PM" src="https://github.com/zed-industries/zed/assets/1486634/b04c1fef-0a30-4eb1-b8f7-4eff351fcdc7"> Release Notes: - Improved the look of code action and run indicators in the gutter ([#12803](https://github.com/zed-industries/zed/issues/12803)). --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
6ca09bd4ba
commit
0d43d484f6
2 changed files with 3 additions and 3 deletions
|
@ -145,7 +145,7 @@ impl RenderOnce for IconButton {
|
|||
let icon_size = self.icon_size.rems() * cx.rem_size();
|
||||
let padding = match self.icon_size {
|
||||
IconSize::Indicator => Spacing::None.px(cx),
|
||||
IconSize::XSmall => Spacing::None.px(cx),
|
||||
IconSize::XSmall => Spacing::XSmall.px(cx),
|
||||
IconSize::Small => Spacing::XSmall.px(cx),
|
||||
IconSize::Medium => Spacing::XSmall.px(cx),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue