Browse Source

Merge pull request #21543 from abpframework/cmspatch

Make edit and delete buttons work with dark theme
pull/21580/head
oykuermann 2 years ago
committed by GitHub
parent
commit
0f584f2c00
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml

4
modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml

@ -105,11 +105,11 @@
@if (authorId == CurrentUser.Id)
{
<a href="#" class="comment-links comment-edit-link btn btn-sm shadow-sm btn-link text-muted bg-white" data-id="@id.ToString()">
<a href="#" class="comment-links comment-edit-link btn btn-sm shadow-sm btn-link text-muted" data-id="@id.ToString()">
<i class="fa fa-pencil mr -1 "></i> @L["Edit"]
</a>
<a href="#" class="comment-links comment-delete-link btn btn-sm shadow-sm btn-link text-muted bg-white " data-author-id="@authorId.ToString()" data-id="@id.ToString()">
<a href="#" class="comment-links comment-delete-link btn btn-sm shadow-sm btn-link text-muted" data-author-id="@authorId.ToString()" data-id="@id.ToString()">
<i class="fa fa-trash mr -1"></i> @L["Delete"]
</a>
}

Loading…
Cancel
Save