Reply to thread

Being that I'm stylastically challenged, this may not be a bug and may be a misuse of CSS classes on my part, but just in case:


Consider the following HTML code above the <xf:editorrow tag in forum_post_quick_thread:

[CODE=html]<xf:if is="$xf.visitor.user_id && $forum.dbtech_ecommerce_tickets_product_id">

    <xf:selectrow name="license_key" label="{{ phrase('dbtech_ecommerce_license') }}" rowtype="fullWidth noGutter mergeNext">

        <xf:option>{{ phrase('(none)') }}</xf:option>

        <xf:options source="{$xf.app.em.getRepository('DBTech\eCommerce:License').getLicensesByUserAndProduct($xf.visitor.user_id, $forum.dbtech_ecommerce_tickets_product_id)}" />

    </xf:selectrow>

</xf:if>[/CODE]


Produces the following output:


Now consider the following HTML code above the <xf:editorrow tag in forum_post_thread:

[CODE=html]<xf:if is="$xf.visitor.user_id && $forum.dbtech_ecommerce_tickets_product_id">

    <xf:selectrow name="license_key" label="{{ phrase('dbtech_ecommerce_license') }}" rowtype="fullWidth mergePrev">

        <xf:option>{{ phrase('(none)') }}</xf:option>

        <xf:options source="{$xf.app.em.getRepository('DBTech\eCommerce:License').getLicensesByUserAndProduct($xf.visitor.user_id, $forum.dbtech_ecommerce_tickets_product_id)}" />

    </xf:selectrow>

</xf:if>[/CODE]


Produces the following output:


Notice how in the second screenshot, there's no padding between the label and the input.


If this is not a bug, could you please let me know the correct CSS classes and/or HTML structure to avoid the 15px padding?



Fillip


Back
Top Bottom