Skip to content

Commit

Permalink
Merge pull request #4 from dawalberto/develop
Browse files Browse the repository at this point in the history
style details and background
  • Loading branch information
dawalberto authored May 10, 2024
2 parents 23afbba + 08f9008 commit 3524233
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
15 changes: 12 additions & 3 deletions public/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/BMRSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const BMRSelector = () => {

return (
<div className='w-full'>
<label htmlFor='BMREquation' className={clsx(selectLabelStyles, 'text-amber-900')}>
<label title='Basal metabolic rate' htmlFor='BMREquation' className={clsx(selectLabelStyles, 'text-amber-900')}>
BMR equation
</label>
<select
Expand Down
4 changes: 2 additions & 2 deletions src/components/LBMSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const LBMSelector = () => {

return (
<div className='w-full'>
<label htmlFor='LBMFormula' className={clsx(selectLabelStyles, 'text-lime-900')}>
<label title='Lean body mass' htmlFor='LBMFormula' className={clsx(selectLabelStyles, 'text-lime-900')}>
LBM formula
</label>
<div className='flex gap-2'>
Expand Down Expand Up @@ -53,7 +53,7 @@ export const LBMSelector = () => {
placeholder='LBM in Kg'
className={clsx(
showManualLBMInput ? 'block w-2/5' : 'hidden',
'block h-10 max-h-12 min-h-9 rounded-none border border-lime-300 bg-lime-50 p-2.5 text-sm text-lime-900 shadow-md focus:border-lime-500 focus:ring-lime-500'
'block max-h-12 min-h-9 rounded-none border-2 border-lime-300 bg-lime-50 p-2.5 text-sm text-lime-900 shadow-md outline-0 focus:border-lime-500 focus:ring-lime-500'
)}
/>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import '@styles/selects.css'
</div>
<!-- <Development client:load /> -->
</div>
<!-- <div class='background'></div> -->
<div class='background'></div>
</body>
<style>
.background {
Expand All @@ -67,12 +67,12 @@ import '@styles/selects.css'
top: 0;
left: 0;
width: 100%;
height: 100%;
height: 105%;
background-image: url('/macronutrients/background.svg');
background-size: cover;
background-position: center;
background-origin: center;
opacity: 0.1;
opacity: 0.2;
z-index: -1;
}

Expand Down

0 comments on commit 3524233

Please sign in to comment.