fix: add word break to snippet header styling
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
border-top-left-radius: 10px;
|
||||
font-size: 0.8rem;
|
||||
color: white;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.snippetContent>pre {
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user