Skip to content

Commit c58f6bf

Browse files
willshowelljelbourn
authored andcommitted
docs(overlay): fix typos in flex position comments (#11241)
1 parent 9dadf37 commit c58f6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk/overlay/position/flexible-connected-position-strategy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
310310
}
311311

312312
/**
313-
* Adds a new preferred fallback position.
313+
* Adds new preferred positions.
314314
* @param positions List of positions options for this overlay.
315315
*/
316316
withPositions(positions: ConnectedPosition[]): this {
@@ -328,7 +328,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
328328
}
329329

330330
/**
331-
* Sets a minimum distance the ovelray may be positioned to the edge of the viewport.
331+
* Sets a minimum distance the overlay may be positioned to the edge of the viewport.
332332
* @param margin Required margin between the overlay and the viewport edge in pixels.
333333
*/
334334
withViewportMargin(margin: number): this {

0 commit comments

Comments
 (0)