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

Fix/overflow view page #164

Merged
merged 5 commits into from
Nov 2, 2024
Merged

Fix/overflow view page #164

merged 5 commits into from
Nov 2, 2024

Conversation

imrishabh18
Copy link
Member

Closes - #151

Screen.Recording.2024-11-03.at.2.48.20.AM.mov

@imrishabh18 imrishabh18 requested a review from seveibar as a code owner November 2, 2024 21:19
Copy link

vercel bot commented Nov 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
snippets ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 2, 2024 11:15pm

@@ -80,7 +80,7 @@ export const PreviewContent = ({
<Tabs
value={activeTab}
onValueChange={setActiveTab}
className="flex-grow flex flex-col"
className="flex-grow flex flex-col sticky top-0 h-screen"
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm is this needed? the container already has sticky

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that container sticky even when provided with the h-screen it doesn't make it stick. I think we can remove that div as a whole

Screen.Recording.2024-11-03.at.3.08.41.AM.mov

Copy link
Contributor

Choose a reason for hiding this comment

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

it might be my computer but the videos you're posting are 0s, is it just me?

Copy link
Contributor

Choose a reason for hiding this comment

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

I still don't understand what this line fixes though, it's already in a sticky container. Maybe the video would help (let me know if it's on my end)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think on my end, the video recorded was playing in my machine. But on the upload preview it doesn't

Copy link
Contributor

Choose a reason for hiding this comment

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

Very strange. I use Kap for recording fwiw

@seveibar
Copy link
Contributor

seveibar commented Nov 2, 2024

@imrishabh18 future pushes will deploy the preview

@seveibar
Copy link
Contributor

seveibar commented Nov 2, 2024

I want to play with this PR, for some reason the video doesn't load and I'm confused by the sticky and overflow parameters

@seveibar
Copy link
Contributor

seveibar commented Nov 2, 2024

@imrishabh18 instead of having this overflow with scroll, can we make it expand to the full size of the page the same way it does on the editor page?

image

@imrishabh18
Copy link
Member Author

@seveibar You mean something like this?

Screen.Recording.2024-11-03.at.3.16.52.AM.mov

@seveibar
Copy link
Contributor

seveibar commented Nov 2, 2024

@seveibar You mean something like this?

Screen.Recording.2024-11-03.at.3.16.52.AM.mov

Yep! I think that is more natural- it's what github does after all!

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.

2 participants