Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片样式优先级问题 #1

Open
appotry opened this issue Aug 8, 2022 · 3 comments
Open

图片样式优先级问题 #1

appotry opened this issue Aug 8, 2022 · 3 comments

Comments

@appotry
Copy link

appotry commented Aug 8, 2022

建议样式直接内联到图片标签之内
或者这样修改一下 height: 100px !important;

使用matery主题 时图片样式显示问题
https://blog.17lai.fun/posts/ed364362/#waline

@appotry
Copy link
Author

appotry commented Aug 8, 2022

链接图片、文字描述如果可以自动获取就更好了

<head>
<meta name="description" content="xxxxxxxxxxxxxx">
<title>xxxxxxx</title>

图片没有传入参数的时候,取html body中第一个img怎么样

@appotry
Copy link
Author

appotry commented Aug 8, 2022

手动修改module目录中的 height: 100px !important; 没有生效

@appotry
Copy link
Author

appotry commented Aug 8, 2022

https://blog.17lai.fun/posts/ed364362/#waline
没办法,先在第三方css文件中修改一个版本使之正常显示

my.css

.vkr-url-wrapper .avatar {
    height: 100px !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant