<template>
    <footer :class="{ tooltip }">
        <slot />
    </footer>
</template>

<script>
export default {
    props: {
        tooltip: Boolean,
    }
}
</script>

<style scoped>
footer {
    display: flex;
    width: 100%;
    padding: 20px;
}

@media only screen and (max-height: 600px) {
    footer {
        padding: 16px;
    }
}

footer.tooltip {
    display: block;
    background: var(--box-bg);
    border-radius: 20px 20px 0 0;
    width: 100%;
    margin: 0;
    font-size: 12px;
}
</style>
