mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
AdminerPrism: Add border and resize
This commit is contained in:
@@ -20,8 +20,11 @@ class AdminerPrism {
|
|||||||
|
|
||||||
function syntaxHighlighting($tableStatuses) {
|
function syntaxHighlighting($tableStatuses) {
|
||||||
?>
|
?>
|
||||||
<link rel="stylesheet" href="<?php echo $this->editorRoot; ?>/layout.min.css">
|
<style>
|
||||||
<link rel="stylesheet" href="<?php echo $this->editorRoot; ?>/themes/<?php echo $this->theme . $this->minified; ?>.css">
|
@import url(<?php echo "$this->editorRoot/layout$this->minified.css"; ?>);
|
||||||
|
@import url(<?php echo "$this->editorRoot/themes/$this->theme$this->minified.css"; ?>);
|
||||||
|
.prism-code-editor { border: 1px inset #ccc; resize: both; }
|
||||||
|
</style>
|
||||||
<script type="module"<?php echo Adminer\nonce(); ?>>
|
<script type="module"<?php echo Adminer\nonce(); ?>>
|
||||||
import { editorFromPlaceholder } from '<?php echo $this->editorRoot; ?>/index.js';
|
import { editorFromPlaceholder } from '<?php echo $this->editorRoot; ?>/index.js';
|
||||||
import { highlightText } from '<?php echo $this->editorRoot; ?>/prism/index.js';
|
import { highlightText } from '<?php echo $this->editorRoot; ?>/prism/index.js';
|
||||||
|
Reference in New Issue
Block a user