style for pleroma reactions

This commit is contained in:
localhost_frssoft 2023-11-04 01:25:44 +03:00
parent ad6f560213
commit aeba4e6682
2 changed files with 12 additions and 2 deletions

View file

@ -27,6 +27,16 @@ frame, body {
overflow-wrap: break-word;
}
.pleroma-reactions #place-react{
border: 1px solid grey;
background-color: transparent
}
.pleroma-reactions #place-unreact{
border: 1px solid bisque;
background-color: transparent
}
.status-name {
overflow-wrap: break-word;
}

View file

@ -117,9 +117,9 @@
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
{{if .Url}}
<input type="image" src="{{.Url}}" title="{{.Name}}{{.Count}}*" {{if eq $react "unreact"}}height=36 width=36 {{else}} height=32 width=32 {{end}} class="pleroma-emoji">
<input id="place-{{$react}}" type="image" src="{{.Url}}" title="{{.Name}}{{.Count}}*" {{if eq $react "unreact"}}height=36 width=36 {{else}} height=32 width=32 {{end}} class="pleroma-emoji">
{{else}}
<input type="submit" value="{{.Name}}{{.Count}}{{if eq $react "unreact"}}*{{end}}" class="pleroma-emoji">
<input id="place-{{$react}}" type="submit" value="{{.Name}}{{.Count}}{{if eq $react "unreact"}}*{{end}}" class="pleroma-emoji">
{{end}}
</form>
{{end}}