mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
refactoring
This commit is contained in:
parent
5cf13584b4
commit
19900705b3
@ -188,6 +188,7 @@ code {
|
|||||||
|
|
||||||
> p > img {
|
> p > img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
border-radius: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
:first-child {
|
:first-child {
|
||||||
@ -299,7 +300,7 @@ code {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
width: 1.5rem;
|
width: 1.5rem;
|
||||||
background-color: rgba($colorBlack, 0.1);
|
background-color: rgba($colorBlack, 0.05);
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
color: $colorBlack;
|
color: $colorBlack;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
|
@ -47,6 +47,10 @@ pre[class*="language-"] {
|
|||||||
padding: 1.25rem !important;
|
padding: 1.25rem !important;
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.75rem;
|
||||||
max-height: unquote("max(300px, 60vh)");
|
max-height: unquote("max(300px, 60vh)");
|
||||||
|
|
||||||
|
&::-webkit-scrollbar-thumb {
|
||||||
|
background-color: rgba($colorWhite, 0.2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre[class*="language-"].language-css > code,
|
pre[class*="language-"].language-css > code,
|
||||||
|
@ -213,7 +213,7 @@ $menuBreakPoint: 800px;
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
border-radius: 5px;
|
border-radius: 0.4rem;
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
margin-left: -0.5rem;
|
margin-left: -0.5rem;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
Loading…
Reference in New Issue
Block a user