Implement new collection page design (#38450)
This commit is contained in:
1 parent
5a880ff995
commit
098d698a7e
9 files changed
+158
-208
No files matched your search
@@ -75,6 +75,7 @@ interface AccountProps {
|
||||
withMenu?: boolean;
|
||||
withBorder?: boolean;
|
||||
extraAccountInfo?: React.ReactNode;
|
||||
className?: string;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
@@ -88,6 +89,7 @@ export const Account: React.FC<AccountProps> = ({
|
||||
withMenu = true,
|
||||
withBorder = true,
|
||||
extraAccountInfo,
|
||||
className,
|
||||
children,
|
||||
}) => {
|
||||
const intl = useIntl();
|
||||
@@ -290,7 +292,7 @@ export const Account: React.FC<AccountProps> = ({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classNames('account', {
|
||||
className={classNames('account', className, {
|
||||
'account--minimal': minimal,
|
||||
'account--without-border': !withBorder,
|
||||
})}
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
background-color: var(--color-bg-brand-softest);
|
||||
color: var(--color-text-primary);
|
||||
border-radius: 12px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
||||
Reference in new issue
Block a user