You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently on baja/staff/pets we render a table of pets. This is good for desktop, but not good for mobile. Instead, when the screen width is less than 1100 px 1200px (bootstrap class xl), we should render each pet in a card, similar to how we do at baja/adoptable_pets. We want to keep pagination for mobile.
Create a new partial (using partials/pet_card is easiest), that includes
the first image of the pet, if available, or the placeholder image,
the pet name,
sex,
breed,
and radio buttons for pause applications, and publish.
Acceptance criteria
pets are rendered in cards if width is less than 1200px, otherwise rendered in the table
The text was updated successfully, but these errors were encountered:
Sure thing!
I think for this we want to render both the table and the cards html at the same time but hide/show the correct markup for the screen width. Let me know if you have questions.
Sounds good.. Will implement accordingly to render card for screen width below 1100 px and otherwise table.
kasugaijin
changed the title
Mobile Design: Staff Pets index table should render in cards below width 1100 px
Mobile Design: Staff Pets index table should render in cards below width xl: 1200px,
May 10, 2024
Quick update @sarvaiyanidhi@jmilljr24 rightly pointed out that we should just use the bootstrap grid sizing here, so could you please set the transition between cards and table to bootstrap class xl which is 1,200 px
Currently on baja/staff/pets we render a table of pets. This is good for desktop, but not good for mobile. Instead, when the screen width is less than
1100 px1200px (bootstrap classxl
), we should render each pet in a card, similar to how we do at baja/adoptable_pets. We want to keep pagination for mobile.Create a new partial (using partials/pet_card is easiest), that includes
Acceptance criteria
The text was updated successfully, but these errors were encountered: