To add a "NSFW" tag in the mod cards if they're tagged or listed as such #85
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: degmods/degmods.com#85
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A simple tag within the mod card, specifically inside the preview/featured image, for a quick showcase on what's NSFW or not.
(I'll go ahead and add the css and share the html when the time comes).
It'd show if a mod is tagged as NSFW by the creator, or if the admin marks it as NSFW if the creator didn't tag it.
Please add the following, for the mod card, inside the div with the class "cMMPictureWrapper":
<div class="IBMSMSMBSSTagsTag IBMSMSMBSSTagsTagNSFW IBMSMSMBSSTagsTagNSFWCard " style=" "><p>NSFW</p></div>
this is the same element found in a nsfw mod post, with just an added new class (I've added it).
I've added the follow class to cardMod.css:
.IBMSMSMBSSTagsTag.IBMSMSMBSSTagsTagNSFW.IBMSMSMBSSTagsTagNSFWCard { position: absolute; bottom: 10px; right: 10px; backdrop-filter: blur(10px); }