view: some text are hidden on mobile view

This commit is contained in:
Tigor Hutasuhut 2024-05-29 15:36:47 +07:00
parent 66e397d745
commit c2f17fbe9f
3 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ templ SlugInput(data SlugInputData) {
"text-success", data.Valid != "",
) }
>Slug Identifier</span>
<span class="label-text-alt italic font-bold text-primary">NOTE: Slug Identifier cannot be changed after creation</span>
<span class="label-text-alt italic font-bold text-primary max-xs:hidden">NOTE: Slug Identifier cannot be changed after creation</span>
</div>
<input
id="slug-input-field"

View file

@ -61,7 +61,7 @@ templ devicesList(data Data) {
<div class="card-body">
<div class="card-title">
<h2 class="my-auto">{ device.Name }</h2>
<span class="text-sm self-end italic font-normal">{ device.Slug }</span>
<span class="text-sm self-end italic font-normal max-xs:hidden">{ device.Slug }</span>
<p class="text-xs my-auto text-end">{ fmt.Sprintf("%.0f \u00d7 %.0f", device.ResolutionX, device.ResolutionY) } px</p>
</div>
<div class="divider">Filter</div>

View file

@ -20,7 +20,7 @@ templ CountbackInput(data CountbackInputData) {
>
<div class="label">
<span class="label-text text-base">Countback</span>
<span class="label-text-alt">
<span class="label-text-alt max-xs:hidden">
NOTE: Non image posts are also counted in the countback!
</span>
</div>