Skip to content

Commit

Permalink
Update border class in index_editor.go to include base-300 color
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolat committed Aug 11, 2024
1 parent d2a70bd commit 4f918ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/web/page/index_editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func indexEditor() gomponents.Node {
navBtn := func(tab string, text string) gomponents.Node {
return html.Div(
alpine.XBind("class", "editorTab == '"+tab+"' && 'border-neutral'"),
html.Class("border-b"),
html.Class("border-b border-base-300"),
html.Button(
alpine.XOn("click", "editorTab = '"+tab+"'"),
alpine.XBind("class", "editorTab != '"+tab+"' && 'btn-ghost'"),
Expand Down

0 comments on commit 4f918ca

Please sign in to comment.