/*!
 * MediaWiki Widgets - base SizeFilterWidget styles.
 *
 * @copyright 2011-2024 MediaWiki Widgets Team and others; see AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

.mw-widget-sizeFilterWidget {
	> .oo-ui-widget {
		display: inline-block;
		vertical-align: middle;
	}

	.oo-ui-textInputWidget {
		max-width: 10em;
	}

	.oo-ui-radioSelectInputWidget {
		/* PHP widget */
		.oo-ui-fieldLayout {
			display: inline-block;
			margin: 0;
			vertical-align: middle;

			&:first-child {
				margin-right: 0.5em;
			}
		}

		/* JS widget */
		.oo-ui-radioOptionWidget {
			display: inline-table;
			width: auto;
			margin: 0;
			vertical-align: middle;

			&:first-child {
				margin-right: 0.5em;
			}
		}
	}
}
