Comments (9)
@chunchengwei 并没有发现你说的问题呢
from hexo-theme-matery.
@blinkfox 在谷歌浏览器下没问题,但是在safari下就水平滚动条就拖拽不了。但是可以使用触控板双指水平移动代码块,类似于在手机上用手势拖拽代码块。
from hexo-theme-matery.
safari
下的一个效果,它本来就是这样的。
from hexo-theme-matery.
safari
下的一个效果,它本来就是这样的。
可以同时也添加水平拖拽的功能么?平时用鼠标,不能拖拽很不方便。
from hexo-theme-matery.
这个程序没啥问题,是safari
浏览器的特殊功能,你可以去Mac设置项里面修改成“始终显示滚动条”的功能。具体方法你可以用搜索引擎搜一下。
from hexo-theme-matery.
可以显示出来滚动条,但是拖拽不了。而且已经打开了始终显示滚动条
from hexo-theme-matery.
那就没法了,safari
这样搞的吧,那只能让代码折行,不出现滚动条就行了,你到matery.css
文件中约124
行的样式里面,加上一行white-space: pre-wrap !important;
的折行样式即可,代码如下:
code[class*="language-"],
pre[class*="language-"] {
color: #e8eaf6;
white-space: pre-wrap !important;
}
from hexo-theme-matery.
好的👌
from hexo-theme-matery.
这个用折行的方式解决了,我就把这个issue
关掉了哈。
from hexo-theme-matery.
Related Issues (20)
- 代码块高亮好像不支持hexo 7.0.0 HOT 12
- 如何更换文章字体 HOT 2
- 修改css后,本地hexo server有效,但是使用generator生成静态文件无效
- bug在网速很慢的时候只显示透明导航,不显示主题内容
- 如果浏览器网址开头,不是https 而是http。那这里的图标就不显示,bug。
- valine 留言板 存在bug
- Valine点击提交无响应 HOT 1
- 是否有三级菜单的写法?
- hexo serve在本地看页面显示是正常的,图片正常加载,但是deploy之后打开的页面格式是错乱的。 HOT 3
- 升级适配Hexo 7.0 HOT 1
- hexo7.1.1代码显示问题 HOT 4
- 目录锚点失效
- 黑暗模式刷新会闪白,闪瞎眼 HOT 2
- 无法加载gitee的图片 HOT 1
- hexo d报错:remote: error: GH013: Repository rule violations found for refs/heads/main.
- 代码块无法高亮
- error: GH013: Repository rule violations found for refs/heads/master报错补充 HOT 9
- 请问代码块右侧滚动条怎么隐藏
- 本地与远程都无法加载网络图片
- 代码块里的函数名变大了,这个怎么解决 HOT 3
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 hexo-theme-matery.