To add a "NSFW" tag in the mod cards if they're tagged or listed as such #85

Closed
opened 2024-10-18 15:53:17 +00:00 by freakoverse · 1 comment
Owner

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.

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.
freakoverse added the
Kind/Feature
label 2024-10-18 15:53:17 +00:00
Author
Owner

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); }

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); }`
enes closed this issue 2024-10-21 14:05:06 +00:00
freakoverse added this to the Extra Features project 2024-11-17 15:47:01 +00:00
freakoverse added the
Priority
Medium
label 2024-11-17 16:05:12 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: degmods/degmods.com#85
No description provided.