@use 'variables' as *;

// Start/End insert-position row (InsertPositionSegment): the label left and
// the two-option segment right at its own width, on one line like the image
// panel's On click. The row's 200px label basis would push the segment under
// the label in the narrow column.
.modula-takeover__insert-position {
	.modula-admin-row__main {
		flex-wrap: nowrap;
	}

	.modula-admin-row__label {
		flex-basis: auto;
	}
}

// The takeover's segmented rule fits its options to the row with 4px sides;
// these two options get room around their words. The admin-ui root and scope
// classes outrank that rule.
.modula-admin-ui.modula-takeover__admin-ui-scope .modula-takeover__insert-position .modula-admin-segmented__option {
	padding: 0 $mod-space-12;
}
