Skip to content

Commit

Permalink
fix panel card
Browse files Browse the repository at this point in the history
  • Loading branch information
trumae committed Feb 3, 2018
1 parent 976a484 commit 5975ccb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elements/materialize/imagecard.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func NewImageCard(title, fimg, icon, textcontent string) ImageCard {

stitle := valente.Span{Text: title}
stitle.AddClass("card-title")
stitle.SetStyle("background-color", "#22222299")
stitle.SetStyle("padding", "3px")

card.image.AddElement(stitle)

if len(icon) != 0 {
Expand Down

0 comments on commit 5975ccb

Please sign in to comment.