mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(notifier): content width. Fixes #631
This commit is contained in:
parent
f264537f3d
commit
0e277379ea
1 changed files with 0 additions and 3 deletions
|
@ -580,9 +580,6 @@ function N:render(notif)
|
|||
for _, line in ipairs(lines) do
|
||||
width = math.max(width, vim.fn.strdisplaywidth(line) + pad)
|
||||
end
|
||||
if win:has_border() then
|
||||
width = width + 2
|
||||
end
|
||||
width = dim(width, self.opts.width.min, self.opts.width.max, vim.o.columns)
|
||||
|
||||
local height = #lines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue