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

fix: search shellbar position #853

Merged
merged 4 commits into from Jun 5, 2019

Conversation

mikerodonnell89
Copy link
Member

fixes #377

also removes CoPilot and fixes a bug with the search input popover container not displaying correctly in the shellbar

@netlify
Copy link

netlify bot commented May 30, 2019

Deploy preview for fundamental-ngx ready!

Built with commit fe6a7ce

https://deploy-preview-853--fundamental-ngx.netlify.com

<fd-shellbar-actions [user]="user"
[userMenu]="userMenu"
[productSwitcher]="productSwitcher">
<button fd-button
[fdType]="'standard'">Custom Button</button>
Copy link
Contributor

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;
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Contributor

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

Copy link
Member Author

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

@mikerodonnell89 mikerodonnell89 merged commit e5b9fd1 into master Jun 5, 2019
@mikerodonnell89 mikerodonnell89 deleted the bug/#377-search-shellbar-position branch June 7, 2019 16:40
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.

shell-bar: search and notification icons are not on the right positions
3 participants