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: search shellbar position #853
Conversation
Deploy preview for fundamental-ngx ready! Built with commit fe6a7ce |
<fd-shellbar-actions [user]="user" | ||
[userMenu]="userMenu" | ||
[productSwitcher]="productSwitcher"> | ||
<button fd-button | ||
[fdType]="'standard'">Custom Button</button> |
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.
It is a good to have an example with a custom component inserted in the shellbar
@@ -0,0 +1,4 @@ | |||
.fd-search-input--closed .fd-popover__body { | |||
width: 300px !important; | |||
left: -264px !important; |
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.
why do we need !important here?
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.
These styles are normally applied to this class but are overridden by popper.js
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.
This is very specific and not very responsive
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.
This is exactly how the component is styled in Fundamental, minus the !important, which is necessary because popper.js is overriding these styles. I think shellbar responsiveness is a larger separate issue
fixes #377
also removes CoPilot and fixes a bug with the search input popover container not displaying correctly in the shellbar