Skip to content

Commit

Permalink
- [WEB] 优化图片自适应高度的逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
czy0729 committed Sep 2, 2024
1 parent e0d5b58 commit b939151
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2023-11-10 02:02:44
* @Last Modified by: czy0729
* @Last Modified time: 2024-08-23 16:57:20
* @Last Modified time: 2024-09-02 21:02:01
*/

/** ==================== reset ==================== */
Expand Down Expand Up @@ -50,6 +50,18 @@ component-tabs {
min-height: 0;
}

component-image {
&-image[data-auto-size='true'] {
img {
position: unset !important;
z-index: unset !important;
width: unset !important;
height: unset !important;
inset: unset !important;
}
}
}

component-cover {
display: flex;
}
Expand Down

0 comments on commit b939151

Please sign in to comment.