Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
fix: removes layout shift caused due to ads (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
harish-sethuraman committed May 21, 2022
1 parent 8ad0130 commit efdfa0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ npm install
Once you have set up your environment, you can run a copy of the website locally using this command:

```sh
$ npm start
npm start
```

This will watch for changes to the source code and rebuild the website, which will be hosted at `http://localhost:8080/`.
Expand Down
4 changes: 4 additions & 0 deletions src/styles/lib/ad.less
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@
}

.eslint-ad-float {
width: 200px;
height: 250px;
float: right;
margin: 2.5rem 0 2.5rem 1.5rem;
}

.eslint-ad-float-left {
height: 250px;
width: 200px;
float: left;
margin: 2.5rem 0;
}
Expand Down

0 comments on commit efdfa0b

Please sign in to comment.