Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to action div to "click for loud noises" should be in the center of the screen #26

Open
MylesBorins opened this issue Apr 5, 2024 · 0 comments

Comments

@MylesBorins
Copy link
Owner

MylesBorins commented Apr 5, 2024

Right now the div for "click for loud noises" is at the top of the screen centered horizontally. It should be centered both horizontally and vertically and float over content.

This should implemented using flex box.

MylesBorins added a commit that referenced this issue Aug 6, 2024
Related to #26

Center the "click for loud noises" div both horizontally and vertically using flexbox.

* Add `display: flex`, `justify-content: center`, and `align-items: center` to `#overlay` in `public/index.css`.
* Remove `margin-left` and `margin` from `#start` in `public/index.css`.
* Add inline styles `display: flex`, `justify-content: center`, and `align-items: center` to `#overlay` in `public/index.html`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MylesBorins/myles.dev/issues/26?shareId=XXXX-XXXX-XXXX-XXXX).
MylesBorins added a commit that referenced this issue Aug 7, 2024
Related to #26

Center the "click for loud noises" div both horizontally and vertically using flexbox.

* Add `display: flex`, `justify-content: center`, and `align-items: center` to `#overlay` in `public/index.css`.
* Remove `margin-left` and `margin` from `#start` in `public/index.css`.
* Add inline styles `display: flex`, `justify-content: center`, and `align-items: center` to `#overlay` in `public/index.html`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MylesBorins/myles.dev/issues/26?shareId=XXXX-XXXX-XXXX-XXXX).
MylesBorins added a commit that referenced this issue Aug 9, 2024
Related to #26

Center the "click for loud noises" div both horizontally and vertically using flexbox.

* **public/index.css**
  - Remove `margin-left: 12.5%` and `width: 75%` from `#start`.
  - Add `display: flex`, `justify-content: center`, and `align-items: center` to `#overlay`.

* **public/index.html**
  - Add `style="height: 100vh;"` to `#overlay` div.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MylesBorins/myles.dev/issues/26?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant