Update documentation padding on mobile devices (#8318)
close #8086 - Technical explanation of the issue The mobile documentation pages have a fixed width of `340px`, regardless of the device. And they are centered horizontally, so the horizontal padding is determined automatically. - Explanation of the fix I've updated the styling of those pages to use fixed padding `32px` instead and let it determine the width (`deviceWidth - 64px`). - Screenshots   --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@ -8,14 +8,21 @@ This is not related in anyway to the main app, which you can find in twenty-fron
|
||||
|
||||
We're using Next.JS
|
||||
|
||||
Copy the .env.example file to .env and fill in the values.
|
||||
|
||||
Run the migrations:
|
||||
```bash
|
||||
npx nx run twenty-website:database:migrate
|
||||
```
|
||||
|
||||
From the root directory:
|
||||
```bash
|
||||
nx run twenty-website:dev
|
||||
npx nx run twenty-website:dev
|
||||
```
|
||||
Then open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
||||
|
||||
Or to build in prod:
|
||||
```bash
|
||||
nx run twenty-website:build
|
||||
nx run twenty-website:start
|
||||
npx nx run twenty-website:build
|
||||
npx nx run twenty-website:start
|
||||
```
|
||||
Reference in New Issue
Block a user