Skip to content

Commit

Permalink
docs: increase sidebar width & show nav title on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedriad1 committed Mar 31, 2022
1 parent 0aed285 commit 0fd6c8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'nextra-theme-docs/style.css'
import '../styles/global.css'

export default function Nextra({ Component, pageProps }) {
const getLayout = Component.getLayout || ((page) => page)
Expand Down
5 changes: 5 additions & 0 deletions docs/styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@media (min-width: 768px) {
aside {
width: 17.5rem !important;
}
}
4 changes: 2 additions & 2 deletions docs/theme.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const theme = {
titleSuffix: SEO.titleSuffix,
logo: (
<>
<span className="mr-2 font-extrabold hidden md:inline">QuranJS</span>
<span className="text-gray-600 font-normal hidden md:inline">API</span>
<span className="mr-2 font-extrabold inline">QuranJS</span>
<span className="text-gray-600 font-normal inline">API</span>
</>
),
head: (
Expand Down

2 comments on commit 0fd6c8a

@vercel
Copy link

@vercel vercel bot commented on 0fd6c8a Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api – ./docs

api-quranjs.vercel.app
quranjs.vercel.app
api-git-master-quranjs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0fd6c8a Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

quranjs-docs – ./docs

quranjs-docs-git-master-ahmed-riad.vercel.app
quranjs-docs-ahmed-riad.vercel.app
quranjs-docs.vercel.app

Please sign in to comment.