Compare commits

...

4 commits

Author SHA1 Message Date
Kainoa Kanter
ccc7ef43d7
ad -> info 2022-07-13 23:52:20 -07:00
ThatOneCalculator
7b4f2fff7e 🎨 2022-07-13 16:41:08 -07:00
ThatOneCalculator
877c00a93d Improve ad style 2022-07-13 16:35:47 -07:00
ThatOneCalculator
a55e27ef88 Merge branch 'develop' of https://github.com/ThatOneCalculator/misskey into develop 2022-07-13 16:29:18 -07:00

View file

@ -3,7 +3,7 @@
<div v-if="!showMenu" class="main" :class="ad.place">
<a :href="ad.url" target="_blank">
<img :src="ad.imageUrl">
<button class="_button menu" @click.prevent.stop="toggleMenu"><span class="fas fa-info-circle"></span></button>
<button class="_button menu" @click.prevent.stop="toggleMenu"><span class="fas fa-info-circle info-circle"></span></button>
</a>
</div>
<div v-else class="menu">
@ -135,13 +135,19 @@ export default defineComponent({
display: block;
object-fit: contain;
margin: auto;
border-radius: 5px;
}
> .menu {
position: absolute;
top: 0;
right: 0;
background: var(--panel);
top: 1px;
right: 1px;
> .info-circle {
border: 3px solid var(--panel);
border-radius: 50%;
background: var(--panel);
}
}
}