mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
Merge pull request #249 from chrisbanes/cb/sharing-links-ui
Improve visuals of sharing links
This commit is contained in:
commit
dcf72e72bf
3 changed files with 6 additions and 6 deletions
|
@ -1550,10 +1550,6 @@ select {
|
|||
min-width: 1.8rem;
|
||||
}
|
||||
|
||||
.min-w-\[2\.4rem\] {
|
||||
min-width: 2.4rem;
|
||||
}
|
||||
|
||||
.min-w-\[220px\] {
|
||||
min-width: 220px;
|
||||
}
|
||||
|
@ -1870,6 +1866,10 @@ select {
|
|||
padding: 1rem;
|
||||
}
|
||||
|
||||
.p-1\.5 {
|
||||
padding: 0.375rem;
|
||||
}
|
||||
|
||||
.p-1 {
|
||||
padding: 0.25rem;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
||||
{{ if $icon }}
|
||||
<span class="relative inline-block align-text-bottom icon">
|
||||
<span class="relative block icon p-1.5">
|
||||
{{ $icon.Content | safeHTML }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ with . }}
|
||||
<a
|
||||
target="_blank"
|
||||
class="m-1 inline-block min-w-[2.4rem] rounded bg-neutral-300 p-1 text-center text-neutral-700 hover:bg-primary-500 hover:text-neutral dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-primary-400 dark:hover:text-neutral-800"
|
||||
class="m-1 rounded bg-neutral-300 p-1 text-neutral-700 hover:bg-primary-500 hover:text-neutral dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-primary-400 dark:hover:text-neutral-800"
|
||||
href="{{ printf .url $.Permalink $.Title }}"
|
||||
title="{{ i18n .title }}"
|
||||
aria-label="{{ i18n .title }}"
|
||||
|
|
Loading…
Reference in a new issue