This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, | |
body { | |
height: 100%; | |
width: 100%; | |
} | |
html { | |
word-break: break-word; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Kim-Christian Meyer <kim.meyer@palasthotel.de> | |
* @modified 2015-06-15 | |
* @see https://forums.adobe.com/message/4385273#4385273 | |
*/ | |
try { | |
app.generalPreferences.customMonitorPpi = 72; | |
app.generalPreferences.useCustomMonitorResolution = true; | |
// undo via |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import React from 'react'; | |
function Teaser(props) { | |
return ( | |
<div class="teaser"> | |
<h2>{props.title}</h2> | |
<p>{props.text}</p> | |
</div> | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Kim-Christian Meyer <kim.meyer@palasthotel.de> | |
* @see https://www.christianheilmann.com/2015/12/25/detecting-adblock-without-an-extra-http-overhead/ | |
*/ | |
;"use strict"; | |
(function() { | |
window.addEventListener('load', function() { | |
var test = document.getElementById('ad12345'); | |
if (test.offsetHeight === 0) { |