fix: add word break to snippet header styling

This commit is contained in:
StevanFreeborn
2023-04-24 16:34:30 -05:00
parent 4aa9902825
commit 045336b987
2 changed files with 2 additions and 1 deletions
@@ -15,6 +15,7 @@
border-top-left-radius: 10px;
font-size: 0.8rem;
color: white;
word-break: break-all;
}
.snippetContent>pre {
+1 -1
View File
@@ -146,7 +146,7 @@ export default function CodeSnippet({
return (
<div className={styles.snippetContainer}>
<div className={styles.snippetHeader}>
<div>
<div className={styles.snippetHeading}>
{method ? (
<span className={methodStyles[method]}>
{method}