Skip to content

Commit 7b90b45

Browse files
author
Kevin Jose
committed
[25/5/2020][TAILWIND_RESUME] added flex shrink 0 in searchFilter component
1 parent 12a6500 commit 7b90b45

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

may-2020/tailwind_css/rt-workcation/src/components/Resume.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ const Resume = () => {
1717
alt='display pic'
1818
/>
1919
<div>
20-
<h1 className='font-bold text-4xl text-gray-600'>
21-
{basic_profile.name}
22-
</h1>
20+
<h1 className='font-bold text-2xl'>{basic_profile.name}</h1>
2321
<h6 className='font-medium text-sm'>{basic_profile.designation}</h6>
2422
<div className='flex flex-col mt-4 text-xs'>
2523
<span>{basic_profile.location.address}</span>

may-2020/tailwind_css/rt-workcation/src/components/SearchFilters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const SearchFilters = () => {
6565
});
6666
};
6767
return (
68-
<section className='bg-gray-800 xl:w-1/4 xl:h-full'>
68+
<section className='bg-gray-800 xl:w-1/4 xl:h-full xl:flex-shrink-0'>
6969
<div className='flex justify-between px-4 py-3 xl:hidden'>
7070
<div className='relative max-w-xs w-full'>
7171
<div className='absolute inset-y-0 left-0 flex items-center pl-3'>

0 commit comments

Comments
 (0)