Skip to content

Commit

Permalink
style: fixing style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Agrawal committed Oct 17, 2021
1 parent 9ca0785 commit 6a893b9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
"plugin:jest/recommended"
],
"plugins": ["jest"],
"rules": {
"react/jsx-filename-extension": [0],
"global-require": [0],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ const TypographyVariant: React.FC<TypographyVariantProps> = ({
: metadata[key];
return (
<>
<p className={styles.metaDataKey}>{key}: </p>
<p className={styles.metaData}>{data}</p>
<p key={i} className={styles.metaDataKey}>
{key}:{" "}
</p>
<p key={i} className={styles.metaData}>
{data}
</p>
</>
);
})}
Expand Down
8 changes: 4 additions & 4 deletions documentationwebsite/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ table thead tr th {
font-size: smaller;
}

tr {
border-bottom: 1px solid var(--table-row-separator-color) !important;
}

tbody tr {
background-color: transparent !important;
font-size: 14px;
}

tr {
border-bottom: 1px solid var(--table-row-separator-color) !important;
}

tbody tr td {
padding: 10px 10px;
}
Expand Down
4 changes: 2 additions & 2 deletions documentationwebsite/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ function FeaturesSection() {
];

const renderFeatureCards = (features) => {
return features.map((feature) => (
<div className="col col--4">
return features.map((feature, key) => (
<div key={key} className="col col--4">
<div className={clsx("card", styles.featureCard)}>
<div className={clsx("card__header", styles.featureCardTitle)}>
<div className={styles.featureCardIcon}>{feature.icon}</div>
Expand Down

0 comments on commit 6a893b9

Please sign in to comment.