yanqiangmiffy / Chinese-LangChain

中文langchain项目|小必应,Q.Talk,强聊,QiangTalk
2.68k stars 323 forks source link

如果询问编程问题,给出的回答界面就是一片白茫茫 #44

Closed bg1avd closed 1 year ago

bg1avd commented 1 year ago

image 可以看到字符都是看不见的,当选中时,字符才显示出来

bg1avd commented 1 year ago

修改assets/custom2.css里的下面这些语句,去掉颜色渲染,就行了

/* Inline code */
code {
    display: inline;
/*    white-space: break-spaces; */
    border-radius: 6px;
    margin: 0 2px 0 2px;
    padding: .2em .4em .1em .4em;
/*    background-color: rgba(175,184,193,0.2); */
}
/* Code block */
pre code {
    display: block;
    overflow: auto;
    white-space: pre;
/*    background-color: hsla(0, 50%, 50%, 80%)!important;*/
    border-radius: 10px;
    padding: 1.4em 1.2em 0em 1.4em;
    margin: 1.2em 2em 1.2em 0.5em;
/*    color: #1; */
    box-shadow: 1px 1px 1px hsla(0, 0%, 0%, 0.2);
}