I want to make the button smaller, specially vertically, but I can't, I think it is because it's adjusting to the parent and the font size.
Here is an example recreating my problem
.justify-between {
justify-content: space-between;
}
.flex-row {
flex-direction: row;
}
.flex {
display: flex;
}
.text-4xl {
font-size: 2.25rem;
}
.px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.mr-2 {
margin-right: 0.5rem;
}
.text-2xl {
font-size: 1.5rem;
}
.rounded-lg {
border-radius: 0.5rem;
}
.blue {
background: blue;
}
<div class="flex flex-row justify-between blue">
<h1 class="text-4xl">title</h1>
<button class="px-6 py-2 rounded-lg text-2xl mr-2">
Show
</button>
</div>
How can I do this?