Skip to content

Commit

Permalink
fix(GPTs/sticky-header): Resolve sticky header issue on GPTs page for…
Browse files Browse the repository at this point in the history
… unauthenticated users

- Address styling or positioning problems with sticky headers on the GPTs page when the user is not logged in

Changes summary:
- Resolved sticky header issues on the GPTs page for unauthenticated users, ensuring a consistent and functional experience.
  • Loading branch information
itsmartashub committed Sep 13, 2024
1 parent f4ba9f9 commit 99db7fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/popup/changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const RELEASE_CHANGES = `
<h3>🛠️ Improvements</h3>
<ul>
<li>Replace blur effects from sticky headers with subtle gradient shadow</li>
<li>Increased scrollbar width for better usability</li>
<li>Add style to <code>code</code> text in chat bubbles to match the GPThemes</li>
<li>Many minor enhancements</li>
</ul>
<h3>🐛 Bug Fixes</h3>
Expand Down
1 change: 1 addition & 0 deletions src/sass/elements/_right--sticky.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ But adding this "main" blocked this style to smaller screens so I have to add it
// --box-shadow-sticky: none;
}

/* "My GPTs" page - sticky header with scrollable tags and LR arrows */
&.top-14 {
padding-bottom: 0.6rem !important;
}
Expand Down
5 changes: 2 additions & 3 deletions src/sass/pages/_gpt-store.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* href="/auth/login?next=/gpts is for Guest mode on GPTs Store */

/* .h-full.overflow-y-auto:has(> .sticky > [href='/']) is for Guest mode on GPTs Store */
main:has(.sticky [href='/gpts/editor']),
.h-full.overflow-y-auto:has(.sticky [href^='/auth/login?next=/gpts']) {
.h-full.overflow-y-auto:has(> .sticky > [href='/']) {

a.gizmo-link {
transition: ease-in-out 0.25s;
Expand Down

0 comments on commit 99db7fa

Please sign in to comment.