-
Notifications
You must be signed in to change notification settings - Fork 11
do we need to manipulate z-index?? #1166
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
Conversation
5820ef4
to
409cc1f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking this maybe has something to do to address deeply stacked cards in interactive mode and choosing another card from a catalogue but I couldn't see any issues while exercising that in the PR preview deploy.
Yea this was my initial thought too. And I tested this it seemed ok. |
@@ -256,7 +256,7 @@ export default class SubmodeLayout extends Component<Signature> { | |||
margin-right: 0; | |||
background-color: var(--boxel-ai-purple); | |||
box-shadow: var(--boxel-deep-box-shadow); | |||
z-index: calc(var(--boxel-modal-z-index) - 1); | |||
z-index: calc(var(--boxel-modal-z-index) - 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to change this because the ai button should be hidden behind the overlay. Lets see if percy shows us anything
modal z index: 15
overlay z index: 15-1
ai chat btn: 15-2
I came across this when i noticed that the z-index was increasing as I close and open the card catalog -- which seems weird to me.