Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
fix: container background color
Browse files Browse the repository at this point in the history
  • Loading branch information
nejcm committed Sep 26, 2022
1 parent ebc83ad commit b204563
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nejcm/demo",
"version": "2.0.15",
"version": "2.1.0",
"description": "@nejcm/docz-theme-extended documentation and demo.",
"main": "index.js",
"author": "",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
},
"devDependencies": {
"rimraf": "^3.0.2"
}
},
"dependencies": {}
}
5 changes: 3 additions & 2 deletions theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nejcm/docz-theme-extended",
"version": "2.0.15",
"version": "2.1.0",
"description": "Extended default docz theme.",
"main": "index.js",
"author": "Nejc Mursic <[email protected]> (https://github.com/nejcm)",
Expand Down Expand Up @@ -33,7 +33,8 @@
"build": "docz build",
"clean": "docz clean",
"dev": "docz dev",
"develop": "npm run dev"
"develop": "npm run dev",
"release": "npm publish"
},
"husky": {
"hooks": {
Expand Down
3 changes: 2 additions & 1 deletion theme/src/gatsby-theme-docz/components/Layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export const Layout = ({children, /*pageContext = {},*/ doc = {}, ...rest}) => {

const {updated} = doc.value || {};
const mainStyles = {
backgroundColor: 'white',
background: 'transparent',
backgroundColor: 'transparent',
marginLeft: align !== 'left' ? 'auto' : 0,
marginRight: align !== 'right' ? 'auto' : 0,
...(fullscreen ? {maxWidth: 'none'} : undefined),
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4117,9 +4117,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001181:
version "1.0.30001185"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001185.tgz#3482a407d261da04393e2f0d61eefbc53be43b95"
integrity sha512-Fpi4kVNtNvJ15H0F6vwmXtb3tukv3Zg3qhKkOGUq7KJ1J6b9kf4dnNgtEAFXhRsJo0gNj9W60+wBvn0JcTvdTg==
version "1.0.30001412"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001412.tgz"
integrity sha512-+TeEIee1gS5bYOiuf+PS/kp2mrXic37Hl66VY6EAfxasIk5fELTktK2oOezYed12H8w7jt3s512PpulQidPjwA==

capitalize@^2.0.0:
version "2.0.3"
Expand Down

0 comments on commit b204563

Please sign in to comment.