Skip to content

Comments

[113] Add custom scroll down button alignment#114

Merged
itsmartashub merged 9 commits intomainfrom
feat/custom-scrolldown-alignment
Apr 3, 2025
Merged

[113] Add custom scroll down button alignment#114
itsmartashub merged 9 commits intomainfrom
feat/custom-scrolldown-alignment

Conversation

@itsmartashub
Copy link
Owner

Closes #113

… vars and btn states on page load (#113)

- Load saved position preferences from storage when the page loads
- Dynamically update CSS variables and apply the active class to the corresponding button based on loaded preferences

Changes summary:
Enabled loading of button scrolldown position preference from storage on page load, ensuring CSS variables and button states are updated accordingly for a personalized user experience.
… fix on mobiles when aligned right (#113)

- GPThemes Customization: Update max-h, padding and overflow from scroll to auto
- Need to fix the double scrollbars visible when zoom-in or on differente screen sizes: Maybe make footer with Reset button out of Y-scrollable tab content
@itsmartashub itsmartashub self-assigned this Apr 2, 2025
… related styling conflicts (#113)

- Add specific classes for scrolldown button based on the presence of elements above the prompt textarea (e.g., `[style*="bottom:"]` or `.bottom-5`)
- Remove redundant code and conflicting styles that caused strange behavior when attached to the prompt textarea
- Address broken "Remove file" button by updating global background styles for elements with `.text-white.bg-black.dark\:bg-white.dark\:text-black` and inverted styles for dark themes

Changes summary:
Refined the scrolldown button's scope with more specific selectors, removed conflicting styles, and fixed the "Remove file" button by updating global background styles.
…prevent shifting (#113)

- Fix hover state of the scrolldown button to eliminate unintended bottom-left shifting
- Update hover effect to slightly decrease opacity and scale up minimally for subtle feedback

Changes summary:
Resolved the scrolldown button's hover state issue by preventing shifting and introducing a refined effect with reduced opacity and slight scaling for better user feedback.
@itsmartashub itsmartashub merged commit 5a9f005 into main Apr 3, 2025
2 checks passed
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.

Add custom scroll down button alignment

1 participant