providers: icons mis-aligned
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
OS and Version?
macOS Mojave
Versions
Angular CLI: 7.3.8
Node: 10.15.3
OS: darwin x64
Angular: 7.2.13
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.13.8
@angular-devkit/build-angular 0.13.8
@angular-devkit/build-optimizer 0.13.8
@angular-devkit/build-webpack 0.13.8
@angular-devkit/core 7.3.8
@angular-devkit/schematics 7.3.8
@angular/cdk 7.3.7
@angular/cli 7.3.8
@angular/fire 5.1.2
@angular/flex-layout 7.0.0-beta.24
@angular/material 7.3.7
@ngtools/webpack 7.3.8
@schematics/angular 7.3.8
@schematics/update 0.13.8
rxjs 6.4.0
typescript 3.2.4
webpack 4.29.0
"ngx-auth-firebaseui": "^2.6.0",
Repro steps
- Use
<ngx-auth-firebaseui></ngx-auth-firebaseui>
in an otherwise empty component.
It looks like Angular Material may have changed some of the DOM structure or styling of icons within buttons.
It appears to be caused by this line:
Unchecking that style in DevTools gives:
The log given by the failure
N/A
Desired functionality
Provider icons aligned correctly within their buttons.
Mention any other details that might be useful
Workaround:
- Set
encapsulation: ViewEncapsulation.None
on your container component - Set this SCSS
ngx-auth-firebaseui {
mat-icon {
vertical-align: middle !important;
}
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Misaligned - Free medical icons - Flaticon
Free vector icon. Download thousands of free icons of medical in SVG, PSD, PNG, EPS format or as ICON FONT.
Read more >How to Fix Windows 10 Desktop Icons Moving After Rebooting
Step 1: Right-click the empty space on the desktop, then select View and uncheck Align icons to grid. Step 2: If not, then...
Read more >Icon/Desktop Alignment Issues - Microsoft Community
So "Align icons to grid" & "Show desktop icons" are toggled, I removed the toggle from "Auto arrange icons" - positioned my icons...
Read more >How to align title at layout center in TopAppBar?
I needed centered title for TopAppBar with navigation icon on the left side only or with two icons on the left and right...
Read more >iPhone 7 Control Center top screen issue - Apple Community
... the Control Center's top screen becomes misaligned. ... wifi signal, screen rotation lock, gps, and battery icons are not on the top ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How can we fix that ?
if I remove
mat-icon { vertical-align: inherit; }
this would not be rendered correctly in my apps. However, this would maybe work only for apps that have been created new from scratch…
I’ve added a new demo app
ng new demo
ng add @angular/material
ng add ngx-auth-firebaseui
and you had right… the icons will be mis-aligned…
v4 is now release
https://github.com/AnthonyNahas/ngx-auth-firebaseui/releases/tag/4.0.0 https://www.npmjs.com/package/ngx-auth-firebaseui
this should be fixed now congrats all ❤️