From 3bb415c26bc03b1238816b540dff62266cda7797 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Tue, 29 Oct 2019 18:03:42 -0400 Subject: [PATCH] No longer collapse History section in doc --- lib/tags/history.js | 2 +- themes/cypress/source/css/_partial/page.scss | 27 -------------------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/lib/tags/history.js b/lib/tags/history.js index e170c45283..813c0bcb43 100644 --- a/lib/tags/history.js +++ b/lib/tags/history.js @@ -15,6 +15,6 @@ module.exports = function history (hexo, args, content) { return Promise.resolve( toMarkdown([tableMarkdown, content].join('\n')) ).then((markdown) => { - return `

History

${markdown}
` + return `

History

${markdown}` }) } diff --git a/themes/cypress/source/css/_partial/page.scss b/themes/cypress/source/css/_partial/page.scss index a4522a1943..522d4c594e 100644 --- a/themes/cypress/source/css/_partial/page.scss +++ b/themes/cypress/source/css/_partial/page.scss @@ -657,36 +657,9 @@ a.article-edit-link { } .history { - cursor: pointer; - - thead, tbody, th, tr { - border-collapse: collapse; - } - - summary { - color: transparent; - display: block; - - h1.article-heading { - margin-top: 0; - } - } - th:last-child { width: 100%; } - - .history-disclosure { - font-size: 0.7em; - padding-right: 0.5em; - transition: 0.3s; - transform-style: preserve-3d; - transform: rotateX(180deg); - } - - &[open] .history-disclosure{ - transform: rotateX(0deg); - } } .aliases {