[ICONS][Edit] Add icon class twig block

[CSS] Move edit feed link aligment rules to base.css
This commit is contained in:
Eliseu Amaro 2021-12-01 13:16:14 +00:00 committed by Diogo Peralta Cordeiro
parent 4155926ebf
commit fa7fa81e35
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
3 changed files with 6 additions and 6 deletions

View File

@ -209,6 +209,11 @@ li {
fill: var(--foreground); fill: var(--foreground);
} }
.edit-feed-link {
display: block;
float: right;
}
.active { .active {
font-weight: bold; font-weight: bold;
} }

View File

@ -341,8 +341,3 @@ embed header {
.note-complementary a { .note-complementary a {
font-weight: bold; font-weight: bold;
} }
.edit-feed-link {
display: block;
float: right;
}

View File

@ -3,7 +3,7 @@
<!-- MIT License --> <!-- MIT License -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" class="{{ iconClass|default('') }}">
<title>Edit</title> <title>Edit</title>
<path d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"/> <path d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 644 B

After

Width:  |  Height:  |  Size: 680 B