Skip to content

Commit

Permalink
feat(presets): remove padding in fron of atom
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Oct 13, 2024
1 parent 02d3d25 commit cb17af5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lua/care/presets/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ end
function Presets.Atom(entry, data)
local components = require("care.presets.components")
return {
components.Padding(1),
components.KindIcon(entry, "blended"),
components.Padding(1),
components.Label(entry, data, true),
Expand Down
2 changes: 1 addition & 1 deletion lua/care/types/presets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
--- The atom preset is an atom-like configuration. It displays the kind icon with a blended colored background and
--- the label.
---
--- ![image](https://github.com/user-attachments/assets/cb653979-ca57-49c8-ae23-510be1496a5c)
--- ![image](https://github.com/user-attachments/assets/dcbc5e92-96e7-49f4-83d1-797a9c54d42a)
---@field Atom fun(entry: care.entry, data: care.format_data): { [1]: string, [2]: string }[][]

0 comments on commit cb17af5

Please sign in to comment.