Some More Changes

This commit is contained in:
2025-04-13 08:05:59 -04:00
parent e933731c58
commit cf48e62e23
2 changed files with 24 additions and 4 deletions

View File

@@ -91,11 +91,11 @@ export default function Post({
)}
{/* Post Actions */}
<div className="flex gap-4 items-center">
<div className="flex flex-col gap-4 items-center">
<button
onClick={onLike}
disabled={!allowReactions} // Disable button if allowReactions is false
className={`px-3 py-1 rounded text-sm ${
className={`px-3 py-1 w-full rounded text-sm ${
allowReactions
? "bg-success-600 hover:bg-primary-600 text-white"
: "bg-gray-500 text-gray-300 cursor-not-allowed"
@@ -106,7 +106,7 @@ export default function Post({
<button
onClick={onWarning}
disabled={!allowReactions} // Disable button if allowReactions is false
className={`px-3 py-1 rounded text-sm ${
className={`px-3 py-1 w-full rounded text-sm ${
allowReactions
? "bg-primary-500 hover:bg-red-600 text-white"
: "bg-gray-500 text-gray-300 cursor-not-allowed"