function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MarcelBerlinMarcelBerlin 

Lightning // size between inputfield and select options

Hello, 
befor I ask my question..I hope I'm in the right forum.. if not, please let me know.

 

Question:

If I add in the same row a  <ui:inputSelect and  <lightning:input type="text"  why they have difference size ?

User-added image

cheers from germany ;D

marcel

 

MarcelBerlinMarcelBerlin

Update:

Selection has font-size 13px

inputField has fontsize 12px

Now I must writhe an css hack ;D

prakash_sfdcprakash_sfdc
Hi, lightning namespace used SLDS and ui namespace doesn't. Hence, there can be some minor CSS differences. You can try with CSS hack or use all ui components with slds classes or all lightning namespace components. Let me know if this helps.
 
MarcelBerlinMarcelBerlin

hm not the best way but its possible.. 

 

thx