mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +08:00
Merge remote-tracking branch 'upstream/main' into dev
# Conflicts: # app/components/markdown.tsx # app/locales/ar.ts # app/locales/bn.ts # app/locales/cs.ts # app/locales/de.ts # app/locales/es.ts # app/locales/fr.ts # app/locales/id.ts # app/locales/it.ts # app/locales/jp.ts # app/locales/ko.ts # app/locales/no.ts # app/locales/ru.ts # app/locales/tr.ts # app/locales/vi.ts
This commit is contained in:
@@ -272,7 +272,7 @@ div.math {
|
||||
|
||||
pre {
|
||||
position: relative;
|
||||
|
||||
|
||||
&:hover .copy-code-button {
|
||||
pointer-events: all;
|
||||
transform: translateX(0px);
|
||||
@@ -304,6 +304,37 @@ pre {
|
||||
}
|
||||
}
|
||||
|
||||
code{
|
||||
.show-hide-button {
|
||||
border-radius: 10px;
|
||||
position: absolute;
|
||||
inset: 0 0 auto 0;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
height: fit-content;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
button{
|
||||
margin-top: 3em;
|
||||
margin-bottom: 4em;
|
||||
padding: 5px 16px;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
border-radius: 14px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
background: #464e4e;
|
||||
}
|
||||
}
|
||||
|
||||
.expanded {
|
||||
background-image: none;
|
||||
}
|
||||
.collapsed {
|
||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
}
|
||||
|
||||
.clickable {
|
||||
cursor: pointer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user