We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f8e2be commit baf4fecCopy full SHA for baf4fec
src/cdk/overlay/position/global-position-strategy.ts
@@ -169,7 +169,8 @@ export class GlobalPositionStrategy implements PositionStrategy {
169
170
if (config.width === '100%') {
171
parentStyles.justifyContent = 'flex-start';
172
- } else if (this._overlayRef.getConfig().direction === 'rtl' && this._justifyContent.startsWith('flex-')) {
+ } else if (this._overlayRef.getConfig().direction === 'rtl' &&
173
+ this._justifyContent.startsWith('flex-')) {
174
// In RTL the browser will invert `flex-start` and `flex-end` automatically, but we
175
// don't want that because our positioning is explicitly `left` and `right`, hence
176
// why we do another inversion to ensure that the overlay stays in the same position.
0 commit comments