Remove padding
See original GitHub issueHello, I tried to remove the padding in the canva but nothing works. I already search I old issues. As you can see on the screen there is a left and bottom padding :
Here is my conf :
const data = {
labels: [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1],
datasets: [
{
data: [2000, 59, 19, 81, 300, 55, 40, 400, 130, 1, 1000],
hiddenLegend: true,
}
]
};
const options = {
maintainAspectRatio: false,
legend: {
display: false,
},
elements: {
point: {
radius: 0
}
},
scales: {
xAxes: [{
gridLines: {
display: false,
drawBorder: false,
},
scaleLabel: {
display: false
},
ticks: {
display: false
}
}],
yAxes: [{
gridLines: {
display: false,
drawBorder: false
},
scaleLabel: {
display: false
},
ticks: {
display: false
}
}],
},
};
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Remove all padding and margin table HTML and CSS
Remove padding between cells inside the table. Just use cellpadding=0 and cellspacing=0 attributes ...
Read more >How To Adjust the Content, Padding, Border, and Margins ...
You can remove this margin by setting the top and left margin to zero. Like the padding and border, the sizes of specific...
Read more >Tutorial 3 - Nested lists - Step 3 - Remove padding and margins
To remove this left-indentation consistently across all browsers, set both padding and margins to "0" for the "UL". Go to Step 4 →....
Read more >How do I remove the table padding (cellborder,padding,etc ...
I have cellpadding, cellspacing, etc. all set to 0 but it doesn't seem to work. Can I somehow set a new CSS class...
Read more >How to Remove the Cell Spacing in CSS
HTML tables are comprised of rows and cells. In traditional HTML coding you remove the spacing within a cell by setting the “cellspacing”...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you very much, my issue is solved.
Did you try this (instead of dealing with negative padding)?