fix: add word break to snippet header styling
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
border-top-left-radius: 10px;
|
border-top-left-radius: 10px;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
color: white;
|
color: white;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.snippetContent>pre {
|
.snippetContent>pre {
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ export default function CodeSnippet({
|
|||||||
return (
|
return (
|
||||||
<div className={styles.snippetContainer}>
|
<div className={styles.snippetContainer}>
|
||||||
<div className={styles.snippetHeader}>
|
<div className={styles.snippetHeader}>
|
||||||
<div>
|
<div className={styles.snippetHeading}>
|
||||||
{method ? (
|
{method ? (
|
||||||
<span className={methodStyles[method]}>
|
<span className={methodStyles[method]}>
|
||||||
{method}
|
{method}
|
||||||
|
|||||||
Reference in New Issue
Block a user