I'm currently utilizing the vuetify
grid system to construct a reply component. The column ratio is set at 1:11 for the icon and reply columns, respectively. Below you'll find the code snippet:
<v-row justify="center" class="ma-0 pa-0">
<v-col
id="vote-col"
cols="1"
class="pa-0 d-flex flex-column align-center"
>
<v-icon size="24">mdi-thumb-up</v-icon>
<span>{{ likes }}</span>
</v-col>
<v-col id="question-col" cols="10" class="pa-0">
<v-row class="ma-0 replyFont">
{{ reply }}
</v-row>
</v-col>
</v-row>
While this setup appears good on smaller screens, issues arise as we reach screen sizes above 1100px. Even with cols="1"
, the width of the column becomes too extensive, leading to excessive space between the icon and reply columns. This is evident in the images below:
https://i.stack.imgur.com/eo2EF.png https://i.stack.imgur.com/RBCXN.png
Is there a solution to prevent the v-col
from exceeding the necessary width? Considering that the minimum value for the cols
property is 1, how have you dealt with this issue in your projects?