Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
sicdude
Contributor III
Contributor III

Multi KPI Change Card Size or Line Spacing (CSS?)

I have a Multi KPI that I am using for one of my sheets but the space that I have on the sheet is a bit limited.  I have figured out how to change the font size using CSS, but the size of the box/line spacing doesn't really change at all.   Is there a way that I could shrink the card height or the line spacing within the card?  Maybe using CSS, or some setting that I'm just not seeing?  I'd like to be able to fit 3 years worth of data instead of the 2 that is showing (below) and if the spacing could just be adjusted, I'm sure it would be a perfect fit.

 

MultiKPI_Card.png

1 Solution

Accepted Solutions
vish123
Creator III
Creator III

Hi Sicdude,

Please try below code.

div[tid="AUcgDQN"] * {
padding:0 !important;
}
div[tid="AUcgDQN"] .value {
padding:0 !important;
}
div[tid="AUcgDQN"] .label {
padding:0 !important;
};

Replace "AUcgDQN" with your MutliKPI object ID. I hope this helps. Please mark this as solution in case helps. 

View solution in original post

2 Replies
newuser
Creator II
Creator II

I'm interested in any fix also!

vish123
Creator III
Creator III

Hi Sicdude,

Please try below code.

div[tid="AUcgDQN"] * {
padding:0 !important;
}
div[tid="AUcgDQN"] .value {
padding:0 !important;
}
div[tid="AUcgDQN"] .label {
padding:0 !important;
};

Replace "AUcgDQN" with your MutliKPI object ID. I hope this helps. Please mark this as solution in case helps.