chore(style): Align right estimate fee cell

This commit is contained in:
Cristian Ditaputratama 2024-11-05 16:40:14 +07:00
parent a8c94ca0aa
commit fdf541f78f
Signed by: ditatompel
GPG key ID: 31D3D06D77950979
2 changed files with 3 additions and 3 deletions

View file

@ -207,7 +207,7 @@ templ TableNodes(data monero.Nodes, countries []monero.Countries, q monero.Query
<td> <td>
@cellStatuses(row.IsAvailable, monero.ParseNodeStatuses(row.LastCheckStatus)) @cellStatuses(row.IsAvailable, monero.ParseNodeStatuses(row.LastCheckStatus))
</td> </td>
<td>{ fmt.Sprintf("%d", row.EstimateFee) }</td> <td class="text-right">{ fmt.Sprintf("%d", row.EstimateFee) }</td>
<td class="text-right"> <td class="text-right">
@cellUptime(row.Uptime) @cellUptime(row.Uptime)
</td> </td>

View file

@ -493,14 +493,14 @@ func TableNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryN
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</td><td>") _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</td><td class=\"text-right\">")
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }
var templ_7745c5c3_Var19 string var templ_7745c5c3_Var19 string
templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.EstimateFee)) templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", row.EstimateFee))
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/handler/views/remote_nodes.templ`, Line: 210, Col: 47} return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/handler/views/remote_nodes.templ`, Line: 210, Col: 66}
} }
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19))
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {