Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
fix(docz-theme-default): support absolute page elements (#683)
Browse files Browse the repository at this point in the history
fix(docz-theme-default): Support absolute page elements
  • Loading branch information
eeegor authored and pedronauck committed Mar 15, 2019
1 parent 63b72b6 commit 2c2554d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The are just two directories to care about if you would like to contribute:

There are lots of [packages](https://github.com/pedronauck/docz/tree/master/packages) that are necessary to run docz, the most important packages that are important to care about:

#### **[docz-core](https://github.com/pedronauck/docz/tree/master/packages/docz)**
#### **[docz-core](https://github.com/pedronauck/docz/tree/master/packages/docz-core)**
- This is the core of docz. All build algorithms, server process and parses belongs to here.
- If you break this package, probably you'll break all packages! Please, be carefull.
- All cli commands are built here and imported on `docz` package using `./bin` script.
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@
</a>
</p>

## 🙌🏻 &nbsp; Sponsors

Thanks for all people that support us 🙏🏻

<a href="https://impulso.work" target="_blank">
<img src="https://cdn-std.dprcdn.net/files/acc_649651/OosgCe" width="60">
</a>

## 🎩 &nbsp; Features

- 🧘 **Zero config and easy.** Don't worry about complex configurations steps.
Expand Down Expand Up @@ -120,6 +112,18 @@ Simplicity is one of our core principles. Therefore, getting started with **docz
$ yarn add docz docz-theme-default --dev
```

> Special note for `create-react-app` and other users
> There is a known temporary version mismatch issue in v0.13 of `docz` that causes an `Uncaught TypeError: Cannot read property 'close' of undefined` error. To fix, add this to your `package.json` and rerun `rm yarn.lock && yarn`:
```json
"resolutions": {
"ansi-styles": "^3.2.0"
}
```

> See associated tracking issues for [`webpack v4.28.4`](https://github.com/pedronauck/docz/issues/596) and [`ansi-styles v3.2.0`](https://github.com/pedronauck/docz/issues/536). You can [track v0.14 development here](https://github.com/pedronauck/docz/tree/v0.14).
Then create some `.mdx` anywhere inside your project:

```markdown
Expand Down Expand Up @@ -167,7 +171,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR

## 💭 &nbsp; Needing Help?

If you need some help you can chat with us on [our Discord server](https://discord.gg/Qec87en), you have a great team to help you:
If you need some help you can chat with us on [our Discord server](https://discord.gg/Qec87en), we have a great team to help you:

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
Expand Down
1 change: 1 addition & 0 deletions packages/docz-theme-default/src/components/ui/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Wrapper = styled('div')`
background: ${get('colors.background')};
font-size: 18px;
min-width: 0;
position: relative;
`

export const Container = styled('div')`
Expand Down

0 comments on commit 2c2554d

Please sign in to comment.