fix width after padding adjustment