mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
Fix css-truncate-target
`css-truncate-target` only works when initialised: ``` css-truncate css-truncate-target ```
This commit is contained in:
@@ -14,9 +14,11 @@
|
|||||||
<div class="d-flex flex-column">
|
<div class="d-flex flex-column">
|
||||||
<h1 class="break-word f3 text-normal mb-md-0 mb-1">
|
<h1 class="break-word f3 text-normal mb-md-0 mb-1">
|
||||||
<span class="author">
|
<span class="author">
|
||||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Params.author }}</a></span><span
|
<a href="{{ .Site.BaseURL }}">{{ .Site.Params.author }}</a>
|
||||||
class="path-divider">/</span><strong class="css-truncate-target mr-1" style="max-width: 410px"><a
|
</span>
|
||||||
href="{{ .Permalink }}">{{ .Title }}</a></strong>
|
<span class="path-divider">/</span>
|
||||||
|
<strong class="css-truncate css-truncate-target mr-1" style="max-width: 410px">
|
||||||
|
<a href="{{ .Permalink }}">{{ .Title }}</a></strong>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="note m-0">
|
<div class="note m-0">
|
||||||
Created <relative-time datetime="{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}"
|
Created <relative-time datetime="{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}"
|
||||||
@@ -93,4 +95,4 @@
|
|||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<script type="application/javascript" src='{{ "js/toc.js" | absURL }}'></script>
|
<script type="application/javascript" src='{{ "js/toc.js" | absURL }}'></script>
|
||||||
<link rel="stylesheet" href='{{ "css/toc.css" | absURL }}' />
|
<link rel="stylesheet" href='{{ "css/toc.css" | absURL }}' />
|
||||||
|
Reference in New Issue
Block a user