Skip to content

Commit

Permalink
Clamp latest post content to max 3 lines (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
damianstasik authored Aug 31, 2023
1 parent 3752888 commit d95d9eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/LatestNews/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export default function LatestNews() {
<div className="bg-dark2 w-full flex justify-center py-20 px-16">
<Logo />
</div>
<div className="flex flex-col gap-2">
<div className="flex flex-col">
<span className="text-[#A965FF] font-bold">Aug 25, 2023</span>
<h4 className="text-3xl font-bold text-[#E7E9EC]">
<h4 className="text-3xl font-bold text-[#E7E9EC] leading-snug mt-2">
OpenTF Announces Fork of Terraform
</h4>
<p className="text-[#8590A2]">
<p className="text-[#8590A2] line-clamp-3 mt-2 mb-4">
Two weeks ago, HashiCorp announced they are changing the license
to all their core products, including Terraform, to the Business
Source License (BSL).
Expand Down

0 comments on commit d95d9eb

Please sign in to comment.