css - Angular Materials won't apply styles to components -
here simple snippet:
.profilebutton { float: right; } <!-- profile button --> <div class="col-md-4 profilebuttoncontainer"> <button md-button [routerlink]="'/welcome/profile'" class="profilebutton">profile</button> </div> what doing wrong? have been trying style toolbars, dialog boxes, checkboxes angular materials none of them apply. can change styling inspector under mat-(whatever) mat-button, mat-dialog-container, , works, how translate css? seems don't have access modifying mat-(stuff)
all want stick md-button right side of container. super simple.
your code should work expected. see below code,
<div class="profilebuttoncontainer"> <button md-button class="temp-class">click me!</button> </div> note : add stylesheet reference @ component level using below line
styleurls:[`....`]
Comments
Post a Comment