Commit c5afd39
Eric Bower
·
2026-01-02 12:22:40 -0500 EST
parent 08f727e
fix: tui pages
1 files changed,
+2,
-2
+2,
-2
| ... | ... | @@ -106,10 +106,10 @@ func (m *PagesPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) { | |
| 106 | 106 | pagesLen := len(m.pages) | |
| 107 | 107 | err := m.err | |
| 108 | 108 | ||
| 109 | - | info := text.New("Pages deployed to pgs. Each page is accessible via https://{user}-{project}.pgs.sh. We do not have access to custom domains so those cannot be shown.") | |
| 109 | + | info := text.New("Sites deployed to pgs. Each page is accessible via https://{user}-{project}.pgs.sh. We do not have access to custom domains so those cannot be shown.") | |
| 110 | 110 | brd := NewBorder(info) | |
| 111 | 111 | brd.Label = "desc" | |
| 112 | - | brdSurf, _ := brd.Draw(ctx) | |
| 112 | + | brdSurf, _ := brd.Draw(createDrawCtx(ctx, 5)) | |
| 113 | 113 | root.AddChild(0, ah, brdSurf) | |
| 114 | 114 | ah += int(brdSurf.Size.Height) | |
| 115 | 115 |