Git Product home page Git Product logo

Comments (10)

Rorical avatar Rorical commented on August 23, 2024

请提供一下网页链接方便排查

from bubble.

langonginc avatar langonginc commented on August 23, 2024

https://516wjy.xyz:516

from bubble.

langonginc avatar langonginc commented on August 23, 2024

@Rorical

我目前发现在 functions.php 中的 printAricle() 函数在打印图片时出现了一些问题:

  • CSS(css/main.min.css) class 不存在: list-image-card, list-card-bg, list-image-card-section

也就是说,前端 HTML 无法加载这些 class 所以在打印带有头图的文章时就会出现上述问题。

希望您能检查一下 CSS 的上传问题。谢谢。

-- UPD --

其实就是 main.min.cssmain.css 内容不符,完整版的CSS有那些class而min版没有,您可能需要重新min一次

from bubble.

langonginc avatar langonginc commented on August 23, 2024

其实就是 main.min.cssmain.css 内容不符,完整版的CSS有那些class而min版没有,您可能需要重新min一次

这里我提供一个非常简单的解决方案(适用于用户),将 header.php 中 41 行的 min 去掉即:

<link type="text/css" href="<?php $this->options->themeUrl("assets/css/main.css"); ?>" rel="stylesheet">

from bubble.

langonginc avatar langonginc commented on August 23, 2024

@Rorical 希望作者能通过我的PR!

#46

from bubble.

Rorical avatar Rorical commented on August 23, 2024

pr内对main.min.css进行了何种修改?
我经过再次检查,确认现有min.css是压缩过的版本。内容相符。
如果网站出现问题,很可能是缓存等原因造成的。

from bubble.

langonginc avatar langonginc commented on August 23, 2024

纯压了,我查看了原来下载的文件,min里面最后并没有 list-image-* class

from bubble.

langonginc avatar langonginc commented on August 23, 2024

@Rorical 我这边发现所有的样式问题均来自 min 文件的问题,因为我先将 index.php 中的第41行引用换成min版,能正常显示,换回min版就不能显示,然后我重新压之后再看就没这个问题了,而且连带着有些字体颜色的问题也解决了。

from bubble.

Rorical avatar Rorical commented on August 23, 2024

通过再次对比文件,我认为您提交的文件与现有min.css无很大差异。请您再次检查,因为其他更新的人似乎未遇到此问题

from bubble.

langonginc avatar langonginc commented on August 23, 2024

那谢谢您了,可能是我这边哪里出现了问题,目前我已经解决了,那我就关掉这个 issue 和 pr 了。

from bubble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.