размер кнопок на моем сайте зависит от количества текста.когда есть 2 строки, кнопки больше, чем кнопки с 1 строкой.как я могу это исправить?
это было исправлено в одной точке, но снова сломалось.и это, конечно, не весь код для этого,
.wp-block-column {
margin-bottom: 0;
@include desktop {
height: 138px;
height: 252px;
flex-basis: auto;
font-size: 30px;
line-height: 36px;
width: 357px;
height: 238px;
}
}
.wp-block-button {
height: 100%;
}
.wp-block-button__link {
display: flex;
justify-content: center;
align-items: center;
}
.wp-block-columns {
justify-content: center;
}
.all-button {
border-radius: 1rem;
text-transform: uppercase;
text-align: center;
font-family: 'Lato-Bold';
text-decoration: none;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
&:hover {
opacity: 0.5;
}
@include desktop {
width: 355px;
margin: 0;
font-size: 1.67rem;
margin: $base__space-unit;
border-radius: 8px;
a {
font-size: 30px;
height: 100%;
width: 100%;
#text {
margin: auto;
}
}
}
}
Я ожидаю, что все кнопки будут одинакового размера