зеркало из https://github.com/golang/pkgsite.git
content/static: fix directory indentation
Fixes golang/go#44399 Change-Id: I298986d2219a6c8333bfa7d49cb0bed9818f59e0 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/295591 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Родитель
bc0218a3ce
Коммит
dc9827cf06
|
@ -77,7 +77,9 @@ th.UnitDirectories-toggleCell {
|
|||
.UnitDirectories-toggleButton {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
left: -0.75rem;
|
||||
margin: 0 -0.5rem -1rem -1rem;
|
||||
position: absolute;
|
||||
vertical-align: top;
|
||||
}
|
||||
.UnitDirectories-subSpacer {
|
||||
|
@ -96,10 +98,14 @@ th.UnitDirectories-toggleCell {
|
|||
line-height: 1.75rem;
|
||||
word-break: break-all;
|
||||
}
|
||||
.UnitDirectories-pathCell > div {
|
||||
position: relative;
|
||||
}
|
||||
.UnitDirectories-subdirectory {
|
||||
border-left: 0.0625rem solid var(--gray-8);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 0.375rem;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
.UnitDirectories-mobileSynopsis {
|
||||
|
|
|
@ -52,8 +52,10 @@
|
|||
<tr data-id="{{$prefix}}-{{.Suffix}}">
|
||||
<td>
|
||||
<div class="UnitDirectories-subdirectory">
|
||||
<a href="{{.URL}}">{{.Suffix}}</a>
|
||||
{{if .IsModule}}<span class="UnitHeader-badge">Module</span>{{end}}
|
||||
<span>
|
||||
<a href="{{.URL}}">{{.Suffix}}</a>
|
||||
{{if .IsModule}}<span class="UnitHeader-badge">Module</span>{{end}}
|
||||
</span>
|
||||
<div class="UnitDirectories-mobileSynopsis">{{.Synopsis}}</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Загрузка…
Ссылка в новой задаче