Unnecessary Page Title word wrap on TItle

  • 2
  • Problem
  • Updated 3 years ago
  • (Edited)





<skuidpage unsavedchangeswarning="yes">
<models> <model id="RecordTypes" limit="" query="true" createrowifnonefound="false" adapter="" type="" sobject="RecordType"> <fields> <field id="IsActive"/> <field id="Description"/> <field id="Name"/> <field id="BusinessProcessId"/> <field id="Id"/> <field id="NamespacePrefix"/> <field id="DeveloperName"/> <field id="SobjectType"/> </fields> <conditions> <condition type="multiple" field="SobjectType" operator="in" inactive="true" enclosevalueinquotes="true" name="__autofilter__SobjectType" state="filterableoff" value=""/> </conditions> <actions/> </model> </models> <pageregioncontents> <pageregioncontent regionid="sk-1uFo3V-67" uniqueid="sk-haGMm-105"> <components> <pagetitle uniqueid="sk-3V81Ge-335" model="RecordTypes"> <maintitle>Record Types</maintitle> <actions/> </pagetitle> <skootable showconditions="true" showsavecancel="false" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="100" createrecords="false" model="RecordTypes" buttonposition="" mode="readonly" uniqueid="sk-eG4hP-204"> <fields> <field id="Name" valuehalign="" type="" allowordering="true"/> <field id="DeveloperName" valuehalign="" type="" allowordering="true"/> <field id="SobjectType" valuehalign="" type="" allowordering="true"/> <field id="Id" valuehalign="" type=""/> <field id="NamespacePrefix" valuehalign="" type=""/> <field id="IsActive"/> <field id="BusinessProcessId"/> <field id="Description"/> </fields> <rowactions/> <massactions usefirstitemasdefault="true"/> <views> <view type="standard"/> </views> <searchfields/> <filters> <filter type="multiselect" filteroffoptionlabel="----- Any -----" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="auto" labelmode="manual" conditionfield="SobjectType" conditionoperator="in" label="Object"/> </filters> </skootable> </components> </pageregioncontent> </pageregioncontents> <components/> <resources> <labels/> <css/> <javascript/> </resources> </skuidpage>
 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 3 years ago

  • 2
Photo of mB Andréas K.LeF

mB Andréas K.LeF

  • 1,244 Points 1k badge 2x thumb
I found the cause of this. I'd label this as another bug with the default skuid theme. It really shouldn't break the very last word of the title off by itself, especially in the case of a really long title name it look like this: (where "dfg" gets wrapped to the next line)



Yet it really should just be like the following:


So here's the change I made:
.nx-template {
     word-break: normal; /* instead of word-break: break-word */
}
And now the proof that it behaves the same as before should the size of the title change: