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

feat: scrollable field list navigation sidebar in new generate UI #2144

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
6 changes: 3 additions & 3 deletions apps/generate-ui-v2/src/components/field-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ export class FieldList extends GeneratorContextContext(
<div
class="border-separator ${this.editor === 'intellij'
? 'hidden md:block'
: 'max-sm:hidden md:w-64'} fixed h-full w-52 overflow-y-auto border-r-2 p-6"
: 'max-sm:hidden md:w-64'} h-full w-72 overflow-y-auto border-r-2 p-6"
>
${this.renderOptionNav(optionsWithMetadata, shouldShowMoreOptions)}
</div>
<div
class="${this.editor === 'intellij'
? 'md:ml-52 md:p-6'
: 'sm:ml-52 sm:p-6 md:ml-64'} w-full pt-6"
? 'md:p-6'
: 'sm:p-6'} w-full overflow-y-auto pt-6"
>
${this.renderOptionsWithDivider(
optionsWithMetadata,
Expand Down
Loading