- {isSelectionMode ? (
-
+ {/* Header Section - Fixed Height */}
+
+
+
+
+ {unsanitize(content.name)}
+
+ {content.tags && content.tags.length > 0 && (
+
+ {content.tags.map(tag => (
+
+ {unsanitize(tag)}
+
+ ))}
+
)}
+
+
+
+ {isSelectionMode ? (
+
+
+ {isSelected && (
+
+ )}
+ {willBeSelected && !isSelected && (
+
+ )}
+
+
+ ) : (
+
+ )}
+
+
+
+ {/* Quality Preferences */}
+ {qualityPreferences.length > 0 && (
+
+ {qualityPreferences.map((pref, index) => (
+
+
+ {pref}
+
+ {index < qualityPreferences.length - 1 && (
+
+ )}
+
+ ))}
+
+ )}
- {/* Quality Preferences */}
- {qualityPreferences.length > 0 && (
-
- {qualityPreferences.map((pref, index) => (
-
-
- {pref}
-
- {index < qualityPreferences.length - 1 && (
-
- )}
-
- ))}
-
- )}
-
- {/* Description */}
- {content.description && (
-
-
- {truncateDescription(
- unsanitize(content.description)
- )}
-
-
- )}
-
-
-
- {/* Metadata Row */}
-
-
-
-
-
- {activeCustomFormats} format
- {activeCustomFormats !== 1 ? 's' : ''}
-
+ {/* Description - Fixed Height with Scroll */}
+
+ {content.description && (
+
+
+ {unsanitize(content.description)}
+
+ )}
+
-
-
- {parseLanguage(content.language)}
-
+ {/* Footer Section - Fixed Height */}
+
+
- {content.upgradesAllowed && (
+ {/* Metadata Row */}
+
+
-
-
Upgrades Allowed
+
+
+ {activeCustomFormats} format
+ {activeCustomFormats !== 1 ? 's' : ''}
+
+
+
+
+ {parseLanguage(content.language)}
+
+
+ {content.upgradesAllowed && (
+
+ )}
+
+
+ {(sortBy === 'dateModified' ||
+ sortBy === 'dateCreated') && (
+
+ {sortBy === 'dateModified'
+ ? 'Modified'
+ : 'Created'}
+ :{' '}
+ {formatDate(
+ sortBy === 'dateModified'
+ ? profile.modified_date
+ : profile.created_date
+ )}
+
)}
-
- {(sortBy === 'dateModified' ||
- sortBy === 'dateCreated') && (
-
- {sortBy === 'dateModified' ? 'Modified' : 'Created'}
- :{' '}
- {formatDate(
- sortBy === 'dateModified'
- ? profile.modified_date
- : profile.created_date
- )}
-
- )}