fix(ui): resolve MDX paragraph line-height inheritance, implement drag-to-scroll slider, disable UI text selection
Former-commit-id: 4d03da2ca22a0119d156db12c9c1722bbba5a29e
This commit is contained in:
@@ -93,7 +93,7 @@ export function CompetenceBentoGrid(props: CompetenceBentoGridProps) {
|
||||
const isAccent = item.size === 'accent';
|
||||
const imgSrc = item.image?.url;
|
||||
|
||||
let gridClasses = "rounded-2xl overflow-hidden relative group ";
|
||||
let gridClasses = "rounded-2xl overflow-hidden relative group select-none ";
|
||||
if (isLarge) gridClasses += "md:col-span-2 md:row-span-2";
|
||||
else if (isMedium) gridClasses += "md:col-span-2 lg:col-span-2";
|
||||
else if (isAccent) gridClasses += "md:col-span-1 bg-primary text-white p-6 md:p-8 flex flex-col justify-center border-none shadow-md";
|
||||
|
||||
Reference in New Issue
Block a user