Conditional Unrendered Page Title has margin in Investor, Slated & Lightning Design themes

  • 1
  • Problem
  • Updated 1 year ago
  • In Progress
Themes up to date.
Skuid 11.1.11

Working styling in other themes.




Investor, Slated & Lightning Design themes.
Photo of Pat Vachon

Pat Vachon, Champion

  • 45,236 Points 20k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Stephen Sells

Stephen Sells, Alum

  • 17,326 Points 10k badge 2x thumb
I'm unable to replicate what you're seeing with the XML below using Investor Theme in the latest version of Skuid. Would you mind sharing your page's XML that replicates the issue?

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" useviewportmeta="true" showheader="false" theme="Investor">
    <models>
        <model id="Acct" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" sobject="Account">
            <fields>
                <field id="RecordTypeId"/>
                <field id="Name"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
        <model id="NewModel" limit="20" query="true" createrowifnonefound="true" datasource="Ui-Only" processonclient="true">
            <fields>
                <field id="OnlyField" displaytype="TEXT" required="true" defaultvaluetype="fieldvalue" defaultValue="A"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <buttonset model="Acct" uniqueid="sk-3Wq8-542">
            <buttons>
                <button type="multi" label="PAGE TITLE ON" uniqueid="sk-3Wqv-829">
                    <actions>
                        <action type="updateRow" fieldmodel="NewModel" affectedrows="context" field="OnlyField" enclosevalueinquotes="true" value="A"/>
                    </actions>
                </button>
                <button type="multi" label="PAGE TITLE OFF" uniqueid="sk-3Wq9-555">
                    <actions>
                        <action type="updateRow" behavior="toggle" componentid="sk-3Wpv-254" fieldmodel="NewModel" affectedrows="context" field="OnlyField" enclosevalueinquotes="true" value="B"/>
                    </actions>
                </button>
            </buttons>
        </buttonset>
        <pagetitle model="Acct" uniqueid="sk-3Wpw-264">
            <maintitle>I TAKE UP SPACE</maintitle>
            <subtitle>Much intrude</subtitle>
            <actions/>
        </pagetitle>
        <pagetitle model="Acct" uniqueid="sk-3Wpv-254">
            <maintitle>I feel invisible to the world</maintitle>
            <subtitle>HIDDEN</subtitle>
            <actions/>
            <renderconditions logictype="and">
                <rendercondition type="fieldvalue" operator="=" enclosevalueinquotes="true" fieldmodel="NewModel" sourcetype="fieldvalue" nosourcerowbehavior="deactivate" field="OnlyField" value="A"/>
            </renderconditions>
        </pagetitle>
        <pagetitle model="Acct" uniqueid="sk-3Wpx-271">
            <maintitle>I CROWD YOU</maintitle>
            <subtitle>Pushy</subtitle>
            <actions/>
        </pagetitle>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
        <actionsequences uniqueid="sk-3Wpr-232"/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>