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

第14页.text-cols为什么会出现首字母放大下沉 #235

Open
guanpengchn opened this issue Apr 25, 2019 · 1 comment
Open

第14页.text-cols为什么会出现首字母放大下沉 #235

guanpengchn opened this issue Apr 25, 2019 · 1 comment

Comments

@guanpengchn
Copy link

Executable Version
node --version 8.9
npm --version 6.4.1
nodeppt -v 2.1
OS Version
NAME VERSION
macOS Sierra 10.12.3

链接如下,在css中未找到相关定义,如果不需要这个首字母放大下沉怎么办?

https://nodeppt.js.org/#slide=14

@alili
Copy link

alili commented Aug 14, 2019

这段样式位于 /assets/scss/_typography.scss line 298

我用如下代码覆盖了样式

.text-cols p:first-child:first-letter {
  float: none !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  font-size: inherit !important;
  margin: auto !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

2 participants