mirror of https://github.com/onweru/compose.git

weru
28.17.2020 6055b787cf920271d997bbdfb0b030053aea5e1b
fix font inconsistencies on iPhone
2 files modified
5 ■■■■ changed files
assets/js/index.js 3 ●●●● patch | view | raw | blame | history
assets/sass/_base.sass 2 ●●●●● patch | view | raw | blame | history
assets/js/index.js
@@ -94,7 +94,7 @@
  const closest = collection.reduce(function(prev, curr) {
    return (Math.abs(curr - goal) < Math.abs(prev - goal) ? curr : prev);
  });
  return closest
  return closest;
}
function hasClasses(el) {
@@ -109,6 +109,7 @@
  const navHeight = nav.offsetHeight;
  const docContent = elem('main');
  docContent.style.paddingTop = `${navHeight + 20}px`;
  return navHeight + 20;
})();
(function markInlineCodeTags(){
assets/sass/_base.sass
@@ -6,6 +6,8 @@
body, html 
  scroll-behavior: smooth
  font-kerning: normal
  -webkit-text-size-adjust: 100%
body
  font-family: var(--font)