3
Omen
2y

Bugs grow in code fr

I restarted vscode, and my perfectly circular div became a capsule

Comments
  • 1
    Formatter added spaces?
  • 0
    @lorentz nope.
    Code used to be:
    `w-${isSmall ? 8 : 11} h-${ isSmall ? 8 : 11 }`.
    Changed it to:
    `${isSmall ? 'w-8' : 'w-11'} ${ isSmall ? 'h-8' : 'h-11' }`. This has worked...for now.
    NB: TailwindCSS
    Code used in a customizable, reusable CircleAvatar thingie
  • 1
    Well if you've restarted your machine too and the output is different you can assume you previously had cached files in your browser, a cached build, unsaved editor files or something like that.
Add Comment