[home] Fix alignement and footer regression cased by 9a66c2566

This commit is contained in:
syl20bnr 2021-03-25 23:18:39 -04:00
parent 532ad2567c
commit 92c1565507

View file

@ -708,7 +708,12 @@ REAL-WIDTH: the real width of the line. If the line contains an image, the size
:mouse-face 'highlight
:follow-link "\C-m"
(propertize "Licensing" 'face 'font-lock-keyword-face))
(spacemacs-buffer//center-line)
(let ((len (- (line-end-position)
(line-beginning-position))))
(spacemacs-buffer//center-line)
(setq spacemacs-buffer--buttons-position (- (line-end-position)
(line-beginning-position)
len)))
(insert "\n")
(widget-create 'push-button
:help-echo "Update Spacemacs core and layers."