Give subscribe buttons a fixed width

This commit is contained in:
itepechi 2023-09-09 05:17:22 +09:00
parent 55fe9a51d6
commit a4994fd879
2 changed files with 6 additions and 2 deletions

View File

@ -303,6 +303,10 @@
button {
margin: 0;
}
.subscribe-button {
width: 2em;
}
}
}

View File

@ -198,7 +198,7 @@
<template v-if="relationship.following">
<ProgressButton
v-if="!relationship.subscribing"
class="btn button-default"
class="btn button-default subscribe-button"
:click="subscribeUser"
:title="$t('user_card.subscribe')"
>
@ -206,7 +206,7 @@
</ProgressButton>
<ProgressButton
v-else
class="btn button-default toggled"
class="btn button-default subscribe-button toggled"
:click="unsubscribeUser"
:title="$t('user_card.unsubscribe')"
>