Skip to content

Commit

Permalink
fixes responsiveness issue in asset configure presets (#8168)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Jul 17, 2024
1 parent 5bcef50 commit 4d18d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/Consultations/LiveFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ const LiveFeed = (props: any) => {
{viewOptions(presetsPage)?.map((option: any, i) => (
<button
key={i}
className="max- flex w-full flex-wrap gap-2 truncate rounded-md border border-white bg-green-100 p-3 text-black hover:bg-green-500 hover:text-white"
className="flex w-full flex-wrap gap-2 truncate whitespace-pre-wrap rounded-md border border-white bg-green-100 p-3 text-black hover:bg-green-500 hover:text-white"
onClick={() => {
setLoading(`Moving to Preset ${option.label}`);
gotoPreset(
Expand All @@ -571,7 +571,7 @@ const LiveFeed = (props: any) => {
<div className="flex flex-col">
<button
key={preset.id}
className="flex flex-col truncate rounded-t-md border border-white bg-green-100 p-2 text-black hover:bg-green-500 hover:text-white"
className="flex h-full flex-col truncate whitespace-pre-wrap rounded-t-md border border-white bg-green-100 p-2 text-black hover:bg-green-500 hover:text-white"
onClick={() => {
setLoading("Moving");
gotoBedPreset(preset);
Expand Down

0 comments on commit 4d18d96

Please sign in to comment.