Skip to content

Conversation

@anushkaaaaaaaa
Copy link

Fixes

Description

Removed the fixed width constraint on the body element for screens >= 1500px, allowing full-width layout on standard laptop screens instead of the boxed appearance.

Technical details

Commented out width: 1500px and margin: 0 auto in the @media (min-width: 1500px) query in vocabulary.css to enable responsive full-width layout.

Tests

  1. Open the site at http://localhost:4000
  2. Resize browser to ~1750x1028 or use DevTools to simulate 15-inch laptop display
  3. Verify content uses full width without horizontal scrolling on all pages including /submit/

Screenshots

Checklist

  • I have read and understood the Developer Certificate of Origin (DCO), below, which covers the contents of this pull request (PR).
  • My pull request doesn't include code or content generated with AI.
  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the default branch of the repository (main or master).
  • My commit messages follow best practices.
  • My code follows the established code style of the repository.
  • I added or updated unit tests and/or test scripts for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Copilot AI review requested due to automatic review settings December 15, 2025 13:03
@anushkaaaaaaaa anushkaaaaaaaa requested a review from a team as a code owner December 15, 2025 13:03
@anushkaaaaaaaa anushkaaaaaaaa requested review from TimidRobot and possumbilities and removed request for a team December 15, 2025 13:03
@cc-open-source-bot cc-open-source-bot moved this to In review in possumbilities Dec 15, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a scrollable section bug (#372) by removing the fixed width constraint on the body element for screens with a minimum width of 1500px, allowing content to use the full available width on standard laptop screens instead of being constrained to a boxed layout.

Key Changes:

  • Commented out fixed width constraint (width: 1500px) and centering (margin: 0 auto) for large screens to enable responsive full-width layout

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

padding: 0;
width: 90%;
margin: 0 var(--vocabulary-page-edges-space) 6em;
padding: 0 5%;
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The margin value has been changed from using the CSS variable var(--vocabulary-page-edges-space) to a hardcoded 5% value in the padding. While functionally equivalent (since the variable is defined as 5%), using the CSS variable would maintain consistency with the rest of the codebase and make future spacing adjustments easier to manage from a single location. Consider using padding: 0 var(--vocabulary-page-edges-space) instead of padding: 0 5%.

Suggested change
padding: 0 5%;
padding: 0 var(--vocabulary-page-edges-space);

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

The main contents of the site are wrapped in a scrollable section, limiting visibility

1 participant