Skip to content

Commit

Permalink
update: badges usable in body (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurFlag authored Feb 13, 2024
1 parent e7f2fd9 commit b7b116f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/aiven.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"Pro-platform badge": {
"prefix": ["pro", "badge"],
"body": [
"import ProBadge from \"@site/src/components/ProBadge\";",
"import ProBadge from \"@site/src/components/Badges/ProBadge\";",
"",
"<ProBadge/>",
""
Expand Down
8 changes: 7 additions & 1 deletion src/components/Badges/EarlyBadge/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
text-transform: uppercase;
margin: 0;
padding: 4px 8px;
font-size: 43%;
font-size: 80%;
vertical-align: middle;
}

h1 .badge,
h2 .badge,
h3 .badge {
font-size: 43%;
}
8 changes: 7 additions & 1 deletion src/components/Badges/LimitedBadge/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
text-transform: uppercase;
margin: 0;
padding: 4px 8px;
font-size: 43%;
font-size: 80%;
vertical-align: middle;
}

h1 .badge,
h2 .badge,
h3 .badge {
font-size: 43%;
}
8 changes: 7 additions & 1 deletion src/components/Badges/ProBadge/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
text-transform: uppercase;
margin: 0;
padding: 4px 8px;
font-size: 43%;
font-size: 80%;
vertical-align: middle;
}

h1 .badge,
h2 .badge,
h3 .badge {
font-size: 43%;
}

0 comments on commit b7b116f

Please sign in to comment.