Skip to content

Commit

Permalink
fixed bleeding buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
beyond9thousand committed Mar 27, 2024
1 parent 839253e commit 658e321
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

import { themes } from 'prism-react-renderer';
import { themes } from "prism-react-renderer";
const lightTheme = themes.github;
const darkTheme = themes.dracula;

Expand Down Expand Up @@ -45,7 +45,7 @@ module.exports = {

presets: [
[
"classic",
"@docusaurus/preset-classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
Expand Down Expand Up @@ -156,7 +156,7 @@ module.exports = {
copyright: `Copyright © ${new Date().getFullYear()} beyond9thousand | Built with <a target="_blank" href="https://docusaurus.io/">Docusaurus</a>`,
},
prism: {
additionalLanguages: ['bash', 'diff', 'json'],
additionalLanguages: ["bash", "diff", "json"],
theme: lightTheme,
darkTheme: darkTheme,
},
Expand Down
4 changes: 4 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@
font-weight: 450;
}

.button {
white-space: normal;
}

/* Accomodation for variation in size */
@media (orientation: portrait) {
.hero__subtitle {
Expand Down

0 comments on commit 658e321

Please sign in to comment.