I’ve used width:inherit; for a widget so it could be compatible on tablet and mobile versions. But the problem is my desktop version of the site is fixed at 1200px and the widget is stretched now.
If I use margin:auto; for a widget, the desktop version will be just fine, but the mobile and tablet versions would be stretched.