Skip to content

Commit

Permalink
systemView fix for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Eychenie committed Apr 27, 2014
1 parent 02e803b commit bbf3c1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/main/webapp/static/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -474,17 +474,21 @@ body {
display: inline-block;
height: 18px;
-webkit-transform: skew(-72deg);
-ms-transform: skew(-72deg);
transform: skew(-72deg);
border-width: 1px 0 0 1px;
margin-bottom: 22px;
}

.planet-hud-pre.reverse div {
-webkit-transform: skew(72deg);
-ms-transform: skew(72deg);
transform: skew(72deg);
border-width: 1px 1px 0 0;
}

.planet-hud-caption {
vertical-align: middle;
vertical-align: top;
text-align: right;
max-width: 116px;
width: 116px;
Expand Down
8 changes: 6 additions & 2 deletions src/main/webapp/templates-hidden/gameinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ <h2>System : <span data-bind="text:name" class="system-name"></span></h2>
<li class="planet-view">
<!-- ko if: $index()%2 -->
<div class="planet-hud-caption">
<img style="right:0" data-bind="style: {width: imageWidth, top: imageOffset}, attr: {src:imagePath}">
<div style="position:relative">
<img style="right:0" data-bind="style: {width: imageWidth, top: imageOffset}, attr: {src:imagePath}">
</div>
</div>
<div class="planet-hud-pre">
<div></div>
Expand Down Expand Up @@ -57,7 +59,9 @@ <h2>System : <span data-bind="text:name" class="system-name"></span></h2>
<div></div>
</div>
<div class="planet-hud-caption">
<img style="left:0" data-bind="style: {width: imageWidth, top: imageOffset}, attr: {src:imagePath}">
<div style="position:relative">
<img style="left:0" data-bind="style: {width: imageWidth, top: imageOffset}, attr: {src:imagePath}">
</div>
</div>
<!-- /ko -->
</li>
Expand Down

0 comments on commit bbf3c1c

Please sign in to comment.