Skip to content

Commit

Permalink
feat(css): support firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Mar 30, 2016
1 parent 5a47806 commit ba0f904
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/misc/graph.component.ts
Expand Up @@ -12,7 +12,7 @@ import {AbilitySequenceComponent} from '../build/ability-sequence.component';
changeDetection: ChangeDetectionStrategy.OnPush,
directives: [DDragonDirective, AbilitySequenceComponent],
template: `
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" [attr.width]="width" height="100%" [attr.viewBox]="'0 0 ' + width + ' ' + height">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" [attr.viewBox]="'0 0 ' + width + ' ' + height">
<g ability-sequence [champion]="champion" [attr.transform]="'translate(0,' + (graphHeight + margin.top + margin.bottom) + ')'"></g>
<g [attr.transform]="'translate(' + margin.left + ',' + margin.top + ')'">
<path class="line xp" clip-path="url(#clip)"></path>
Expand Down
5 changes: 3 additions & 2 deletions src/assets/css/base.css
@@ -1,7 +1,7 @@
body {
background-color: #EEE;
margin: 0;
font-family: Roboto, Arial, Helvetica, sans-serif;
font-family: Roboto, 'Segoe UI', serif;
}

h1 {
Expand All @@ -28,7 +28,7 @@ p {
}

.header > .align-center {
max-width: 400px;
max-width: 410px;
display: flex;
}

Expand Down Expand Up @@ -151,6 +151,7 @@ input[type="textbox"]:checked {
/* button */

button {
font: 13.3333px Arial;
display: inline-flex;
background-color: #FFF;
border: 1px solid #CCC;
Expand Down
4 changes: 3 additions & 1 deletion src/assets/css/region.css
Expand Up @@ -3,9 +3,11 @@ region > div {
}

region button {
width: 190px;
display: block;
width: 200px;
margin: 5px 0;
padding: 0;
text-align: left;
}

region span {
Expand Down

0 comments on commit ba0f904

Please sign in to comment.