| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | .code-block-pro-editor *, |
| 15 | 15 | .code-block-pro-editor *:after, |
| 16 | 16 | .code-block-pro-editor *:before { |
| 17 | 17 | box-sizing: border-box; |
| 18 | - border: 0 solid #e5e7eb; | |
| 18 | + /* border: 0 solid #e5e7eb; */ | |
| 19 | 19 | } |
| 20 | 20 | @tailwind base; |
| 21 | 21 | @tailwind components; |
| 22 | 22 | @tailwind utilities; |
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | line-height: inherit !important; |
| 32 | 32 | } |
| 33 | 33 | .code-block-pro-editor textarea, |
| 34 | 34 | .code-block-pro-editor pre { |
| 35 | - @apply m-0 text-left; | |
| 35 | + @apply m-0 text-left focus:outline-none; | |
| 36 | 36 | direction: ltr !important; |
| 37 | 37 | } |
| 38 | 38 | .code-block-pro-editor.cbp-has-line-numbers pre { |
| 39 | 39 | counter-reset: step; |
| @@ -104,8 +104,12 @@ | ||
| 104 | 104 | |
| 105 | 105 | .code-block-pro-editor .code-block-pro-copy-button { |
| 106 | 106 | display: block !important; |
| 107 | 107 | @apply pointer-events-none; |
| 108 | +} | |
| 109 | +.cbp-theme-preview { | |
| 110 | + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; /* no !important */ | |
| 111 | + direction: ltr; | |
| 108 | 112 | } |
| 109 | 113 | |
| 110 | 114 | @font-face { |
| 111 | 115 | font-family: 'Code-Pro-Fira-Code'; |