-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Image: fix ssr and object-fit compatibility. (#15346)
* fix: Image is not defined during ssr Delay loadImage to mounted hook and add $isServer check * fix(image): simulate object-fit behavior to compatible with IE11 and other browsers which not suppor fix #15278 * fix: image inline-flex with overflow will still extend its parent element
- Loading branch information
1 parent
06dfe16
commit 340da2f
Showing
2 changed files
with
86 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters