/*!
 * MediaWiki Widgets - base SizeFilterWidget styles.
 *
 * @copyright 2011-2025 MediaWiki Widgets Team and others; see AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */
@import 'mediawiki.skin.variables.less';

.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: @spacing-50;
			}
		}

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

			&:first-child {
				margin-right: @spacing-50;
			}
		}
	}
}
