Skip to content

Commit

Permalink
improve row separation for featured bots (keybase#22904)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblum authored Mar 4, 2020
1 parent 6e7054f commit 922eb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/client/cmd_chat_featured_bots.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package client
import (
"fmt"
"strconv"
"strings"

"github.com/keybase/cli"
"github.com/keybase/client/go/flexibletable"
Expand Down Expand Up @@ -113,7 +114,7 @@ func displayFeaturedBots(g *libkb.GlobalContext, bots []keybase1.FeaturedBot) er
},
flexibletable.Cell{
Alignment: flexibletable.Left,
Content: flexibletable.SingleCell{Item: emoji.Sprintf(bot.ExtendedDescriptionRaw)},
Content: flexibletable.SingleCell{Item: strings.ReplaceAll(emoji.Sprintf(bot.ExtendedDescriptionRaw), "\n", " ") + "\n\n"},
},
})
if err != nil {
Expand Down

0 comments on commit 922eb31

Please sign in to comment.