Skip to content

Conversation

@meganrm
Copy link
Contributor

@meganrm meganrm commented Nov 4, 2025

Problem

closes #130 (hopefully)
This bug doesn't show up for me, so it would be helpful if someone that did can verify this fixes the issue

Solution

changed the scroll css settings

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Steps to Verify:

  1. bun dev
  2. pick a recipe
  3. should not see scroll bars
  4. go to full recipe
  5. should see scroll bars

@meganrm meganrm requested review from Copilot and interim17 November 4, 2025 18:42
Copy link
Contributor

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 addresses issue #130 by modifying scroll behavior across the application. The changes prevent unwanted scrollbars from appearing in specific contexts while ensuring scrollbars are visible when viewing full recipes.

Key Changes:

  • Removed automatic overflow from the JSONViewer component
  • Updated main container scroll behavior to hide horizontal scrollbars while keeping vertical scroll enabled

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/JSONViewer/style.css Removed overflow: auto to prevent unnecessary scrollbars in the JSONViewer component
src/App.css Changed from overflow: scroll to overflow-x: hidden and overflow-y: auto to hide horizontal scrollbars while enabling vertical scrolling only when needed

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

@meganrm meganrm requested a review from rugeli November 4, 2025 18:42
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 22.1% 365 / 1651
🔵 Statements 22.1% 365 / 1651
🔵 Functions 40.35% 23 / 57
🔵 Branches 71.42% 80 / 112
File CoverageNo changed files found.
Generated in workflow #104

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-11-05 22:55 UTC

Copy link
Contributor

@rugeli rugeli left a comment

Choose a reason for hiding this comment

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

this bug didn’t show up for me either, not in the last merged pr or in this one(on Mac).
I also tested it on Windows: when the text isn’t scrollable, there’s no persistent scrollbar, but when I shrink the window or the text is long enough to scroll, it appears (see screenshot). Looks like that's the expected scrollbar behavior on Windows
image (4)

@meganrm meganrm merged commit 8231997 into main Nov 5, 2025
2 checks passed
@meganrm meganrm deleted the fix/scroll branch November 5, 2025 22:54
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

Successfully merging this pull request may close these issues.

the horizontal scroll bar shouldn't show on the left panel

4 participants