Skip to content

Commit

Permalink
feat(mastery): remove inline width, height
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Mar 16, 2016
1 parent a856746 commit d27983b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions css/build.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ mastery > div:not(.disabled):before {
content: '';
border: 2px solid #356BB0;
position: absolute;
width: 45px;
height: 45px;
width: 48px;
height: 48px;
z-index: 10;
}

Expand All @@ -158,7 +158,7 @@ mastery > div:not(.disabled) {

mastery .rank {
position: absolute;
margin: 40px 0 0 24px;
margin: 40px 0 0 26px;
cursor: pointer;
z-index: 20;
}
Expand All @@ -169,6 +169,7 @@ mastery > div.disabled .rank {

mastery > div > img {
border: 2px solid gray;
height: 48px;
}

/*mastery > div.active img {
Expand Down
2 changes: 1 addition & 1 deletion src/build/mastery.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Colors {
<rect x="1" y="1" width="28" height="14" [attr.stroke]="color" fill="none" stroke-width="1"/>
<text x="15" y="12" [attr.fill]="color" text-anchor="middle" font-size="12">{{rank + '/' + data.ranks}}</text>
</svg>
<img [attr.alt]="data.name" height="45px" width="45px" [ddragon]="'mastery/' + data.image.full">
<img [attr.alt]="data.name" [ddragon]="'mastery/' + data.image.full">
<div class="description">
<h2>{{data.name}}</h2>
<p>{{data.description[0]}}</p>
Expand Down

0 comments on commit d27983b

Please sign in to comment.