Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/arrows #814

Merged
merged 7 commits into from
Jan 4, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const SelectableMaterial: FC<SelectableMaterialProps & MaterialProps> = ({
};

return (
<li className="arrow arrow__hover--right-small">
<li className="arrow__hover--right-small">
<div
className={clsx("list-materials", {
"list-materials--disabled": disabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ const StackableMaterial: FC<StackableMaterialProps & MaterialProps> = ({

return (
<div
className={clsx("list-reservation my-32 cursor-pointer", {
"list-reservation--stacked": additionalMaterials > 0
})}
className={clsx(
"list-reservation my-32 cursor-pointer arrow__hover--right-small",
{
"list-reservation--stacked": additionalMaterials > 0
}
)}
role="button"
onClick={handleOpenDueDateModal}
onKeyUp={(e) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ReservationMaterial: FC<ReservationMaterialProps & MaterialProps> = ({
return (
<li>
<div
className="list-reservation my-32 cursor-pointer"
className="list-reservation my-32 cursor-pointer arrow__hover--right-small"
role="button"
onClick={() => openDetailsModal()}
onKeyUp={(e) => {
Expand Down
1 change: 1 addition & 0 deletions src/components/Buttons/ArrowButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const ArrowButton: React.FC<ArrowButtonProps> = ({
return (
<button
aria-labelledby={arrowLabelledBy}
className="arrow-button"
JacobArrow marked this conversation as resolved.
Show resolved Hide resolved
style={pointer}
type="button"
onClick={(e) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const CardListItem: React.FC<CardListItemProps> = ({
<article
ref={itemRef}
data-cy={dataCy}
className="card-list-item arrow arrow__hover--right-small"
className="card-list-item arrow__hover--right-small"
onClick={() => {
handleClick();
}}
Expand Down
Loading