File tree 3 files changed +16
-14
lines changed
3 files changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import React from 'react';
2
2
3
3
export function SkeletonSearchBar ( ) {
4
4
return (
5
- < div className = "mb-1 mt-4 w-full sm:mt-6" >
6
- < div className = "relative flex items-center" >
7
- < div className = "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3 " >
5
+ < div className = "mb-1 mt-4 w-full sm:mt-6 flex flex-row " >
6
+ < div className = "relative flex items-center flex-1 " >
7
+ < div className = "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3" >
8
8
< svg
9
9
aria-hidden = "true"
10
10
className = "h-5 w-5 text-gray-800 dark:text-gray-700"
@@ -21,14 +21,16 @@ export function SkeletonSearchBar() {
21
21
> </ path >
22
22
</ svg >
23
23
</ div >
24
- < input
25
- tabIndex = { 1 }
26
- type = "text"
27
- name = "search"
28
- id = "search"
29
- placeholder = "Search your medical records"
30
- className = "focus:border-primary-500 focus:ring-primary-500 block w-full rounded-md border-gray-300 pl-10 pr-12 shadow-md sm:text-sm"
31
- />
24
+ < div className = "w-full" >
25
+ < input
26
+ tabIndex = { 1 }
27
+ type = "text"
28
+ name = "search"
29
+ id = "search"
30
+ placeholder = "Search your medical records"
31
+ className = "focus:border-primary-500 focus:ring-primary-500 transition-colors block w-full rounded-md border-gray-300 pl-10 pr-10 shadow-sm sm:text-sm"
32
+ />
33
+ </ div >
32
34
</ div >
33
35
</ div >
34
36
) ;
Original file line number Diff line number Diff line change 1
1
import React , { Fragment , memo } from 'react' ;
2
2
import { SkeletonTimelineCard } from './SkeletonTimelineCard' ;
3
3
import { SkeletonTimelineYearHeader } from './SkeletonTimelineYearHeader' ;
4
- import { SkeletonSearchBar } from '../hooks /SkeletonSearchBar' ;
4
+ import { SkeletonSearchBar } from './SkeletonSearchBar' ;
5
5
import { JumpToPanel } from './JumpToPanel' ;
6
6
import { SkeletonTimelineMonthDayHeader } from './TimelineMonthDayHeader' ;
7
7
8
8
function TimelineSkeletonUnmemoed ( ) {
9
9
return (
10
10
< div className = { `relative flex` } >
11
11
< JumpToPanel isLoading = { true } />
12
- < div className = "relative mx-auto flex w-full max-w-4xl flex-col overflow-x-clip px-4 pb-12 sm:px-6 lg:px-8" >
12
+ < div className = "h-max w-full max-w-4xl flex-col px-4 pb-20 sm:px-6 sm:pb -6 lg:px-8" >
13
13
< SkeletonSearchBar />
14
14
{ [ ...Array ( 2 ) ] . map ( ( _ , index ) => (
15
15
< div key = { index } className = "relative" >
Original file line number Diff line number Diff line change 31
31
" ./src/components/connection/ButtonLoadingSpinner.tsx" ,
32
32
" ./src/components/timeline/SkeletonLoadingText.tsx" ,
33
33
" src/components/timeline/TimelineSkeleton.tsx" ,
34
- " src/components/hooks /SkeletonSearchBar.tsx" ,
34
+ " src/components/timeline /SkeletonSearchBar.tsx" ,
35
35
" src/components/timeline/SearchBar.tsx" ,
36
36
" src/components/timeline/SkeletonTimelineYearHeader.tsx" ,
37
37
" ./src/pages/SkeletonJumpToPanel.tsx" ,
You can’t perform that action at this time.
0 commit comments