@@ -40,13 +40,13 @@ const InfoDetailComponent = ({weatherCurrent}) => {
4040
4141 return (
4242 < Fragment >
43- < div className = 'sm:flex-col md:flex md:flex-row justify-between mt-5 mb-5 px-4' >
43+ < div className = 'sm:flex-col md:flex md:flex-row justify-between my-2 px-6 sm: mt-5 sm: mb-5 sm: px-4' >
4444 < div className = 'flex-col sm:w-full lg:w-1/2' >
45- < div className = 'flex flex-row justify-between sm:justify-start' >
45+ < div className = 'flex flex-row justify-between sm:justify-start' >
4646 < div >
4747 { getWeatherIcon ( weatherCurrent ) . startsWith ( 'wi' ) ? (
4848 < p
49- className = 'text-5xl ml-6 mr -2'
49+ className = 'text-6xl ml-0 sm:mx-2 mt -2'
5050 title = { weatherCurrent . summary } >
5151 {
5252 < WeatherIconComponent
@@ -59,13 +59,13 @@ const InfoDetailComponent = ({weatherCurrent}) => {
5959 src = { `./weather/${ getWeatherIcon ( weatherCurrent ) } .svg` }
6060 alt = 'icon'
6161 title = { weatherCurrent . summary }
62- className = '-mt-2 w-24 h-24 object-contain'
62+ className = '-mt-2 -ml-4 sm:mx-0 w-32 h-32 object-contain'
6363 />
6464 ) }
6565 </ div >
66- < div className = 'flex justify-start items-center pr-6 sm:ml-3' >
66+ < div className = 'flex justify-start items-center sm:ml-3' >
6767 < div >
68- < span className = 'text-5xl font-bold' >
68+ < span className = 'text-6xl font-bold' >
6969 { computedTempValue ( 'temperature' ) }
7070 </ span >
7171 </ div >
@@ -90,12 +90,12 @@ const InfoDetailComponent = ({weatherCurrent}) => {
9090 </ div >
9191 </ div >
9292 </ div >
93- < p className = 'hidden sm:flex font-medium ml-6 capitalize' >
93+ < p className = 'hidden sm:flex font-medium ml-4 capitalize' >
9494 { weatherCurrent . summary }
9595 </ p >
9696 </ div >
9797 < div className = 'flex flex-row justify-between sm:flex-col sm:mt-1 sm:w-full lg:w-1/2' >
98- < p className = 'sm:hidden font-medium ml-6 capitalize text-xl' >
98+ < p className = 'sm:hidden font-medium capitalize text-xl ml-2 ' >
9999 { weatherCurrent . summary }
100100 </ p >
101101 < div className = 'text-sm sm:text-lg' >
0 commit comments