no extra padding on left on mobile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
8e1fac9bd5
commit
49cfb3ccc4
2 changed files with 4 additions and 3 deletions
|
@ -31,7 +31,6 @@ const handleNode =
|
||||||
|
|
||||||
// A link break after the title is explicitly required by GitHub
|
// A link break after the title is explicitly required by GitHub
|
||||||
const titleEnd = text.value.indexOf("\n");
|
const titleEnd = text.value.indexOf("\n");
|
||||||
console.log("Title End", titleEnd);
|
|
||||||
if (titleEnd < 0) return;
|
if (titleEnd < 0) return;
|
||||||
|
|
||||||
const textBody = text.value.substring(titleEnd + 1);
|
const textBody = text.value.substring(titleEnd + 1);
|
||||||
|
@ -42,7 +41,6 @@ const handleNode =
|
||||||
if (m && !config.titleKeepTrailingWhitespaces) {
|
if (m && !config.titleKeepTrailingWhitespaces) {
|
||||||
title = title.substring(0, title.length - m[0].length);
|
title = title.substring(0, title.length - m[0].length);
|
||||||
}
|
}
|
||||||
console.log("TITLE IS", title);
|
|
||||||
if (!nameFilter(config.titleFilter)(title)) return;
|
if (!nameFilter(config.titleFilter)(title)) return;
|
||||||
const { displayTitle, checkedTitle } = config.titleTextMap(title);
|
const { displayTitle, checkedTitle } = config.titleTextMap(title);
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,6 @@ pre > code {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
padding-left: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: variables.$breakpoint) {
|
@media screen and (max-width: variables.$breakpoint) {
|
||||||
|
@ -119,4 +118,8 @@ pre > code {
|
||||||
padding: 32px 40px 5px 40px;
|
padding: 32px 40px 5px 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex-wrapper > main {
|
||||||
|
padding-left: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue