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

feature/elec 515: responsiveness for admin and t&cs page #254

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/app/terms-and-conditions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const metadata: Metadata = {

export default function TermsAndConditions() {
return (
<div className="p-20 xs:m-12 sm:m-12 xs:text-xs sm:text-sm">
<div className="p-20 xs:p-8 sm:p-12 xs:text-xs sm:text-sm">
<h1 className="text-lg font-bold">Terms and Conditions</h1>
<br />
<p>
Expand Down Expand Up @@ -35,7 +35,7 @@ export default function TermsAndConditions() {
<br />
<p>By using our services, you agree to the following terms of use.</p>
{/* List of Terms */}
<div className="px-16 xs:px-0 sm:px-8">
<div className="px-16 xs:px-0 sm:px-4">
<hr className="mt-8 bg-black/25" />
<p className="mt-8">
<span className="inline font-semibold">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/DeleteModal/DeleteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function DeleteModal({
</div>

<Transition appear show={isOpen} as={Fragment}>
<Dialog as="div" className="relative z-10" onClose={() => setIsOpen(false)}>
<Dialog as="div" className="relative z-50" onClose={() => setIsOpen(false)}>
<Transition.Child
as={Fragment}
enter="ease-out duration-300"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ReportCard/ReportCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function ReportCard({ report, review, gridView }: { report: Repor
</div>

<Transition appear show={isOpen} as={Fragment}>
<Dialog as="div" className="relative z-10" onClose={() => setIsOpen(false)}>
<Dialog as="div" className="relative z-50" onClose={() => setIsOpen(false)}>
<Transition.Child
as={Fragment}
enter="ease-out duration-300"
Expand Down