Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for presenter view on Firefox (issue 167) #207

Merged
merged 2 commits into from

2 participants

@durin42

Also includes a second commit to clean up some trailing whitespace. Not passionate about that one, feel free to drop it if you don't want that change.

durin42 added some commits
@durin42 durin42 presenter display: fix notes view on Firefox
Gecko doesn't seem to infer the reduced margin the same way WebKit
does, but explicitly stating the -50% margin works correctly on both
browsers.

Fixes schacon#167.
e91f698
@durin42 durin42 presenter css: remove trailing whitespace e89361c
@goncalossilva
Collaborator

Doesn't this cause issues with other browsers? I'm asking naively, I didn't test it.

@durin42

I tested Safari, Chrome, and Firefox. They all looked reasonable.

@durin42

That said, feel encouraged to check my work before merging. I'd hate for it to be a "works on my machine" situation.

@durin42

So, presenter view still looks good in Chrome and Safari, as well as (now) FireFox.

@goncalossilva goncalossilva merged commit d297bd2 into schacon:master
@goncalossilva
Collaborator

Finally got around to checking it out. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 5, 2013
  1. @durin42

    presenter display: fix notes view on Firefox

    durin42 authored
    Gecko doesn't seem to infer the reduced margin the same way WebKit
    does, but explicitly stating the -50% margin works correctly on both
    browsers.
    
    Fixes schacon#167.
  2. @durin42
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 public/css/presenter.css
View
5 public/css/presenter.css
@@ -2,11 +2,12 @@ div.zoomed {
zoom: 50%;
-moz-transform: scale(0.5);
-moz-transform-origin: 0 0;
+ margin-bottom: -50%;
}
#preso { margin-top: 20px; }
-#main h2 {
+#main h2 {
text-align: left;
font-size: 1.5em;
}
@@ -46,7 +47,7 @@ div.zoomed {
#sidebar { background: #ddd; }
-#notes {
+#notes {
background: #ff9;
font-size: 1.5em;
min-height: 150px;
Something went wrong with that request. Please try again.