Make day clickable in calendar
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d1858ad849
commit
97b78810c4
|
@ -266,12 +266,19 @@ mark {
|
|||
}
|
||||
.day a {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 3px;
|
||||
font-size: 9pt;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
color: black;
|
||||
}
|
||||
.day span {
|
||||
.day .day-text {
|
||||
font-size: 9pt;
|
||||
text-align: right;
|
||||
float: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
.day .day-count {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
<div class="day">z</div>
|
||||
{{ range .Days }}
|
||||
<div class="{{ .Class }}">
|
||||
<a href="{{ .URL }}">{{ .Text }}</a>
|
||||
<span>{{ .Count }}</span>
|
||||
<a href="{{ .URL }}">
|
||||
<span class="day-text">{{ .Text }}</span>
|
||||
<span class="day-count">{{ .Count }}</span>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user