BREAKING CHANGE: rename icon `bookmarks` to `bookmark` (#153)

This commit is contained in:
Robert Kaussow 2022-01-12 22:50:20 +01:00 committed by GitHub
parent eba742cf03
commit 6c769422d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View File

@ -47,7 +47,7 @@
{{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }} {{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }}
{{ if eq $tc 0 }} {{ if eq $tc 0 }}
<span class="no-wrap"> <span class="no-wrap">
<svg class="icon gblog_bookmarks"><use xlink:href="#gblog_bookmarks"></use></svg> <svg class="icon gblog_bookmark"><use xlink:href="#gblog_bookmark"></use></svg>
{{ template "post-tag" dict "name" $name "page" . }} {{ template "post-tag" dict "name" $name "page" . }}
</span> </span>
{{ else }} {{ else }}

View File

@ -1,5 +1,5 @@
<!-- Generated by IcoMoon.io --> <!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
<title>bookmarks</title> <title>bookmark</title>
<path d="M20.357 5.856q1.157 0 2.043 0.851t0.885 2.008v23.284l-10.212-4.357-10.144 4.357v-23.284q0-1.157 0.885-2.008t2.042-0.851h14.502zM26.144 24.715v-18.859q0-1.157-0.851-2.042t-2.008-0.885h-14.57q0-1.157 0.885-2.042t2.043-0.885h14.502q1.157 0 2.043 0.885t0.885 2.042v23.216z"></path> <path d="M20.357 5.856q1.157 0 2.043 0.851t0.885 2.008v23.284l-10.212-4.357-10.144 4.357v-23.284q0-1.157 0.885-2.008t2.042-0.851h14.502zM26.144 24.715v-18.859q0-1.157-0.851-2.042t-2.008-0.885h-14.57q0-1.157 0.885-2.042t2.043-0.885h14.502q1.157 0 2.043 0.885t0.885 2.042v23.216z"></path>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 449 B

View File

@ -408,6 +408,16 @@ img {
} }
} }
&__footer {
:not(:first-child).no-wrap {
margin-left: $padding-8;
}
.icon {
font-size: 1.2em;
}
}
&__figure { &__figure {
padding: $padding-4; padding: $padding-4;
margin: $padding-16 0; margin: $padding-16 0;
@ -432,16 +442,6 @@ img {
} }
} }
&__footer {
:not(:first-child).no-wrap {
margin-left: $padding-8;
}
.icon {
font-size: 1.2em;
}
}
&__codecontainer { &__codecontainer {
position: relative; position: relative;