Skip to content

Commit

Permalink
Merge pull request #339 from kaysond/patch-1
Browse files Browse the repository at this point in the history
Fix overflow of variants in productView/Variants.jsx
  • Loading branch information
treoden authored Oct 14, 2023
2 parents ac8809e + c19824b commit 54894ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ export default function Variants({
<div className="mb-05 text-textSubdued uppercase">
<span>{a.attribute_name}</span>
</div>
<ul className="variant-option-list flex justify-start">
<ul className="variant-option-list flex justify-start gap-05 flex-wrap">
{options.map((o) => {
let className = 'mr-05';
className = ''
if (a.selected && a.selectedOption === o.optionId) {
className = 'selected mr-05';
className = 'selected';
}
return (
<li key={o.optionId} className={className}>
Expand Down

0 comments on commit 54894ae

Please sign in to comment.