Card: add missing padding (#32702)

This commit is contained in:
Alex Khomenko 2021-04-06 12:36:48 +03:00 committed by GitHub
parent 2fd6ed5cf8
commit a626d844cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ export const WithTags: Story<Props> = ({ disabled }) => {
export const WithMedia: Story<Props> = ({ disabled }) => {
return (
<Card href="https://ops-us-east4.grafana.net/api/prom" heading="1-ops-tools1-fallback" disabled={disabled}>
<Card heading="1-ops-tools1-fallback" disabled={disabled}>
<Card.Meta>
Prometheus
<a key="link2" href="https://ops-us-east4.grafana.net/api/prom">

View File

@ -37,7 +37,7 @@ const CardInner: FC<CardInnerProps> = ({ children, href }) => {
{children}
</a>
) : (
<>{children}</>
<div className={styles.innerLink}>{children}</div>
);
};