My select does not resize to the font size. How to solve?

0

I added select to my form , but when I set the font size to 35px the select does not fit the font size, a cut occurs.

See below for what happens:

Ineedthefontsizereallytobe35px,howcanIresolvethis?

HTML

<figureclass="cx-fotos-portugal">

    <form>
    <select>
        <option selected="selected">Escolha a cidade</option>
        <option value=""></option>
    </select>
    </form>

    <img src="./fotos-portugal/foto-portugal-capitania-do-porto-cascais.jpg">

</figure>

CSS

    figure.cx-fotos-portugal{
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

figure.cx-fotos-portugal form{
    position: absolute;
    background-color: #ccc;
    padding: 20px;
    border-radius: 10px;
}

figure.cx-fotos-portugal img{
    width: 100%;
    height: 100%;
    max-height: 550px;
}

figure.cx-fotos-portugal form select{
    font-size: 35px;
    padding: 5px;
    border: 1px solid #b9bdc1; 
    color: #797979; 
}
    
asked by anonymous 01.08.2017 / 15:54

1 answer

1

Put height on your select:

figure.cx-fotos-portugal form select{
    font-size: 35px;
    padding: 5px;
    border: 1px solid #b9bdc1; 
    color: #797979; 
    height: 70px;
}
    
01.08.2017 / 16:00