Comments (4)
了解的 应该只用调整样式就可以 我看一下
from sugar-blog.
你看是这种效果吗,这回有一个问题,如果你卡片内容比较长,固定的话 下面的内容没法显示呀
from sugar-blog.
你看是这种效果吗,这回有一个问题,如果你卡片内容比较长,固定的话 下面的内容没法显示呀
是的, 这就是我想要的效果, 根据你的回答我想法是,为精选文章/友情链接/标签设置明确的高度,超出高度时显示滚动条,感觉我这样的操作有点不太好,但我目前只有这一个想法.
from sugar-blog.
PC 的固定你加下面 这段样式就可以了
@media screen and (min-width: 768px){
#VPContent div.blog-info-wrapper{
position: relative !important;
width: 300px;
}
#VPContent div.blog-info{
position: fixed !important;
/* top 根据自己的实际情况调整 */
/* top: 200px; */
}
/* 其它的你根据实际的dom结构调整你想要的高度滚动啥的即可 */
}
from sugar-blog.
Related Issues (20)
- Feature:集成sitemap HOT 3
- 帮忙看着这个报错,这个路径下没有node.js文件 HOT 2
- rss插件里面,可以加一个鼠标移上去的title属性说明 HOT 2
- bug: 当文章页面位置在最顶部时,右侧大纲会在最后一个标题激活 HOT 7
- 升级主题后,无法运行 HOT 4
- 更新主题后,分页样式颜色被覆盖导致显示错误 HOT 5
- rss plugin: frontmatter.publish 更多解释? HOT 4
- 标签bug HOT 2
- 文章frontMatter使用本地cover,部署后在index页面图片路径错误 HOT 2
- index.md问题 HOT 7
- Mermaid流程图打包问题 HOT 1
- [feat] vitepress-plugin-pagefind 可否增加类似 minisearch 的搜索预览 HOT 4
- 若干个问题 HOT 3
- 首页精选文章跳转错误的问题 HOT 3
- 更新0.2.30,mac打包内存溢出 HOT 9
- 文案错误 HOT 1
- 能否把 pagefind 作为依赖自动安装 HOT 2
- 超大vitepress 项目下,pagefind 插件不能正常工作 HOT 21
- Typo HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sugar-blog.