inputGroup no longer functions as expected with xf:numberbox

In XenForo 2.2, the following code:
HTML:

Код:
<div class="inputGroup">
    <xf:numberbox name="someName" min="0" step="any" class="input--numberNarrow" />
    <span class="inputGroup-text">someText</span>
</div>

Produces the following display:
1712938507329.webp

The same code in XF 2.3:
1712938532020.webp

This is because of the following CSS:
CSS:

Код:
.inputGroup
{
    [...]
    
    > .inputGroup,
    > .inputChoices
    {
        flex: 1;
    }

Removing flex: 1; fixes this issue.

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ