mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-31 04:59:50 +02:00
Fix flicker on AI page
This commit is contained in:
@@ -130,7 +130,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-12 flex flex-col items-center gap-4">
|
<div className="mt-12 flex flex-col items-center gap-4">
|
||||||
<p className="text-gray-500">
|
<p className="text-gray-500 text-center">
|
||||||
You have generated{' '}
|
You have generated{' '}
|
||||||
<span
|
<span
|
||||||
className={cn(
|
className={cn(
|
||||||
@@ -145,7 +145,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) {
|
|||||||
</span>{' '}
|
</span>{' '}
|
||||||
roadmaps.
|
roadmaps.
|
||||||
</p>
|
</p>
|
||||||
<p className="flex min-h-[26px] items-center text-sm">
|
<p className="flex min-h-[46px] sm:min-h-[26px] items-center text-sm">
|
||||||
{limit > 0 && !isLoggedIn() && (
|
{limit > 0 && !isLoggedIn() && (
|
||||||
<button
|
<button
|
||||||
onClick={showLoginPopup}
|
onClick={showLoginPopup}
|
||||||
@@ -159,7 +159,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) {
|
|||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
<p className="-mt-[45px] flex min-h-[26px] items-center text-sm">
|
<p className="-mt-[75px] sm:-mt-[45px] flex min-h-[46px] sm:min-h-[26px] items-center text-sm">
|
||||||
{limit > 0 && isLoggedIn() && !openAPIKey && (
|
{limit > 0 && isLoggedIn() && !openAPIKey && (
|
||||||
<button
|
<button
|
||||||
onClick={() => setIsConfiguring(true)}
|
onClick={() => setIsConfiguring(true)}
|
||||||
|
Reference in New Issue
Block a user