dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit c11116c6e243258dd2c5d6012556dc70171fb202
parent ccf8622cf370520541cafbe6af9378adf8ff0096
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 13 Jan 2023 00:27:58 -0800

css

Diffstat:
Mpkg/web/public/views/pages/public-profile.gohtml | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pkg/web/public/views/pages/public-profile.gohtml b/pkg/web/public/views/pages/public-profile.gohtml @@ -3,6 +3,8 @@ table td { padding-right: 10px; } + .thumbnail { width: 130px; height: 130px; margin-right: 10px; } + .username { font-size: 25px; } </style> {{ end }} @@ -13,7 +15,7 @@ <table> <tr> <td rowspan="5"> - <div class="img-thumbnail" style="width: 130px; height: 130px; margin-right: 10px;"> + <div class="img-thumbnail thumbnail"> {{ if .Data.User.Avatar }} <img src="data:image;base64,{{ .Data.User.Avatar | b64 }}" alt="avatar" /> {{ else }} @@ -22,7 +24,7 @@ </div> </td> <td colspan="2"> - <span {{ .Data.UserStyle | attr }}><span style="font-size: 25px;">{{ .Data.User.Username }}</span></span> + <span {{ .Data.UserStyle | attr }}><span class="username">{{ .Data.User.Username }}</span></span> {{ if .AuthUser }} {{ if .AuthUser.IsAdmin }} <a href="/admin/users/{{ .Data.User.ID }}/edit" class="btn btn-secondary btn-sm">Edit</a>