Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix]: uneven divs size #405

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions web/src/pages/Issues/IssuesPage/IssueItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import PropTypes from "prop-types";

const IssueItem = ({ title, description, url }) => {
return (
<div className="p-2 lg:w-1/3 md:w-1/2 w-full">
<div className="h-fit flex items-center border-gray-700 border p-4 rounded-lg hover:shadow-sm hover:shadow-purple-900 hover:border-gray-700 transition-all transform hover:scale-105">
<div className="p-4 lg:w-1/3 md:w-1/2 sm:w-full">
<div className="h-60 flex items-center border-gray-700 border p-4 rounded-lg hover:shadow-sm hover:shadow-purple-900 hover:border-gray-700 transition-all transform hover:scale-105">

<div className="flex-grow">
<h2 className="text-white title-font text-xl font-extrabold">{title}</h2>
<p className="text-white font-light text-s ">{description}</p>
<div className="flex flex-col justify-around overflow-hidden h-60 ">
<h2 className="whitespace-no-wrap overflow-hidden line-clamp-3 text-white title-font text-xl font-extrabold">{title}</h2>
<p className=" whitespace-no-wrap overflow-hidden line-clamp-3 text-white font-light text-s ">{description}</p>
<a
target="_blank"
rel="noreferrer"
href={url}
className="text-purple-500 hover:text-purple-600 text-base font-bold"
className="text-purple-500 hover:text-purple-600 text-base font-bold"
>
Go to Issue
</a>
Expand Down