#53 badge dla form normatywnych - hide under hoverable icon
This commit is contained in:
parent
f9a4802127
commit
46ed6f0deb
|
@ -0,0 +1,19 @@
|
|||
<template>
|
||||
<span class="badge badge-secondary toggle-hover">
|
||||
<Icon v="book-open"/>
|
||||
<span class="togglable">Normatywne</span>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.toggle-hover {
|
||||
.togglable {
|
||||
display: none;
|
||||
}
|
||||
&:hover {
|
||||
.togglable {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -44,7 +44,7 @@
|
|||
–
|
||||
<small>{{template.description}}</small>
|
||||
</nuxt-link>
|
||||
<span v-if="template.normative" class="badge badge-secondary">Normatywne</span>
|
||||
<NormativeBadge v-if="template.normative"/>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
–
|
||||
<small>{{ template.description }}</small>
|
||||
</a>
|
||||
<span v-if="template.normative" class="badge badge-secondary">Normatywne</span>
|
||||
<NormativeBadge v-if="template.normative"/>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
Reference in New Issue