mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: Improve Chapter Header Responsiveness and Text Handling
This commit is contained in:
parent
9ddba29b00
commit
0a3a2a5985
1 changed files with 2 additions and 2 deletions
|
|
@ -163,8 +163,8 @@ const CourseClient = (props: any) => {
|
||||||
return (
|
return (
|
||||||
<div key={chapter} className="">
|
<div key={chapter} className="">
|
||||||
<div className="flex text-lg py-4 px-4 outline outline-1 outline-neutral-200/40 font-bold bg-neutral-50 text-neutral-600 items-center">
|
<div className="flex text-lg py-4 px-4 outline outline-1 outline-neutral-200/40 font-bold bg-neutral-50 text-neutral-600 items-center">
|
||||||
<h3 className="grow">{chapter.name}</h3>
|
<h3 className="grow mr-3 break-words">{chapter.name}</h3>
|
||||||
<p className="text-sm font-normal text-neutral-400 px-3 py-[2px] outline-1 outline outline-neutral-200 rounded-full ">
|
<p className="text-sm font-normal text-neutral-400 px-3 py-[2px] outline-1 outline outline-neutral-200 rounded-full whitespace-nowrap flex-shrink-0">
|
||||||
{chapter.activities.length} Activities
|
{chapter.activities.length} Activities
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue