mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d'
This commit is contained in:
@@ -54,7 +54,7 @@ pre {
|
||||
}
|
||||
|
||||
@media (--breakpoint-large) {
|
||||
.full-width, pre.expand:hover
|
||||
.full-width
|
||||
{
|
||||
/*width: 100vw;
|
||||
position: relative;
|
||||
|
@@ -1,7 +1,6 @@
|
||||
require('typeface-muli');
|
||||
import styles from './css/main.css';
|
||||
import './js/clipboardjs.js';
|
||||
import './js/codeblocks.js';
|
||||
import './js/docsearch.js';
|
||||
import './js/lazysizes.js';
|
||||
import './js/menutoggle.js';
|
||||
|
@@ -1,10 +0,0 @@
|
||||
let article = document.getElementById('prose')
|
||||
|
||||
if (article) {
|
||||
let codeBlocks = article.getElementsByTagName('code')
|
||||
for (let [key, codeBlock] of Object.entries(codeBlocks)){
|
||||
var widthDif = codeBlock.scrollWidth - codeBlock.clientWidth
|
||||
if (widthDif > 0)
|
||||
codeBlock.parentNode.classList.add('expand')
|
||||
}
|
||||
}
|
@@ -4809,7 +4809,7 @@ pre {
|
||||
content: "Copied"
|
||||
}
|
||||
@media screen and (min-width: 60em) {
|
||||
.full-width, pre.expand:hover
|
||||
.full-width
|
||||
{
|
||||
/*width: 100vw;
|
||||
position: relative;
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user