Skip to content

Commit

Permalink
[bugfix] Fix integration of Field in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Aug 25, 2018
1 parent 082e294 commit 9284169
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
</div>
<div class="main-middle-container">
<Events/>
<iframe :src="visionClientAddress" frameborder="none" v-if="showVisionClient"
class="vision-client"></iframe>
<iframe :src="visionClientAddress"
frameborder="none"
v-if="showVisionClient"
class="vision-client">
</iframe>
<div class="vision-client" v-show="!showVisionClient">
<p>The vision-client is shown here, if it is running.</p>
<p>It is expected to run at <a :href="visionClientAddress">{{visionClientAddress}}</a></p>
Expand Down Expand Up @@ -126,9 +129,18 @@
flex-wrap: nowrap;
justify-content: flex-start;
align-content: stretch;
align-items: stretch;
flex-grow: 1;
}
@-moz-document url-prefix() {
/* CSS-Hack for limiting following style to Firefox only */
.main-middle-container {
/* Setting height to 100% in Chrome and Firefox has contradictory effects*/
height: 100%;
}
}
.vision-client {
flex-grow: 1;
width: 100%;
Expand All @@ -151,4 +163,10 @@
float: left;
margin: 0.5em;
}
iframe {
border: 0;
width: 100%;
height: 100%
}
</style>

0 comments on commit 9284169

Please sign in to comment.