Contents
How to remove the padding in Lightning component tab?
The class is .slds-template_default. But I do not know how to prevent the addition of the class. I am assuming that the padding needs to be removed across all pages in your app. If so, your best bet is to create a custom page template and tweak the CSS there.
How to calculate padding for Lightning design system?
Left, Right, Horizontal # Class Name Comfy Value Compact Value slds-var-p-*_xxx-small 0.125rem 0.125rem slds-var-p-*_xx-small 0.25rem 0.125rem slds-var-p-*_x-small 0.5rem 0.25rem slds-var-p-*_small 0.75rem 0.5rem
What’s the best way to enforce no padding?
Use the _xxx-small through _xx-large scale to choose the size needed. You can also use none as the size on any of the directions to enforce zero padding.
How to adjust whitespace with horizontal and vertical padding?
Adjust whitespace by applying horizontal and vertical padding helpers. The base unit of all of our spacing metrics is 4. Most components already come with spacing included. These utility classes are for added convenience in laying out components. Classes prefixed by slds-p- are used for adding padding.
How to move Visualforce page in Lightning app?
When I inspect the page, I can move the visualforce page where I’d like it to move within the area using .slds-card__body.slds-card__body–inner and modifying the top-margin to -50px, however, it modifies every visualforce page in the app.
How to expand apex page in Lightning app?
I’d like to expand the apex page to all corners of the alotted space that is given from the app and remove the name of the visualforce page.
How to control record type selection from quick action in Lightning?
Search for an answer or ask a question of the zone or Customer Support. Need help? Dismiss Don’t have an account? Don’t have an account?