-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Contribute element container exceeds screen width on mobile #919 #959
Open
srinjoy933
wants to merge
6
commits into
OWASP:main
Choose a base branch
from
srinjoy933:srinjoy933/issue--919
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+90
−16
Open
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f48dfa3
Contribute element container exceeds screen width on mobile #919
srinjoy933 1cc0d25
Merge branch 'main' into srinjoy933/issue--919
arkid15r 11259fc
updated changes for the issue#919
srinjoy933 77dcf10
updated#issue no.919
srinjoy933 542a6d4
Update MultiSearch.tsx
srinjoy933 3447639
Merge branch 'main' into srinjoy933/issue--919
srinjoy933 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,86 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="icon" type="image/png" href="https://owasp.org/www--site-theme/favicon.ico" /> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<link rel="icon" type="image/png" href="https://owasp.org/www--site-theme/favicon.ico"> | ||
<title>OWASP Nest</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<style> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we have style here in the middle of the template of all the places? 🤔 |
||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-family: Arial, sans-serif; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background-color: #f8f9fa; | ||
} | ||
|
||
#root { | ||
width: 100%; | ||
max-width: 600px; | ||
padding: 10px; | ||
} | ||
|
||
.container { | ||
width: 100%; | ||
max-width: 100%; | ||
padding: 16px; | ||
background: #ffffff; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
overflow: hidden; | ||
} | ||
|
||
|
||
.contribute { | ||
width: 100%; | ||
max-width: 100%; | ||
padding: 16px; | ||
background: #f1f1f1; | ||
border-radius: 8px; | ||
text-align: center; | ||
} | ||
|
||
.projects { | ||
width: 100%; | ||
max-width: 100%; | ||
padding: 16px; | ||
background: #e3e3e3; | ||
border-radius: 8px; | ||
text-align: center; | ||
} | ||
|
||
|
||
@media (max-width: 768px) { | ||
.container, .contribute, .projects { | ||
width: 100%; | ||
max-width: 100%; | ||
padding: 12px; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"> | ||
<div class="container"> | ||
<h1>Welcome to OWASP Nest</h1> | ||
<div class="projects"> | ||
<h2>Projects</h2> | ||
<p>Explore various security projects.</p> | ||
</div> | ||
<div class="contribute"> | ||
<h2>Contribute</h2> | ||
<p>Join and contribute to the community.</p> | ||
</div> | ||
</div> | ||
</div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand what's going on here at all.. 👀

This is how the page looks now: