style textarea
This commit is contained in:
parent
0146f5ed3e
commit
047cf20e9c
|
@ -1,4 +0,0 @@
|
||||||
textarea {
|
|
||||||
width: 100%;
|
|
||||||
height: 80%;
|
|
||||||
}
|
|
|
@ -9,6 +9,12 @@
|
||||||
<link rel="stylesheet" href="css/style.css">
|
<link rel="stylesheet" href="css/style.css">
|
||||||
<link rel="stylesheet" href="css/codemirror.css">
|
<link rel="stylesheet" href="css/codemirror.css">
|
||||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||||
|
<style>
|
||||||
|
.CodeMirror {
|
||||||
|
border: 1px solid #eee;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -21,6 +21,7 @@ $("#btn_validate").click( function () {
|
||||||
var editor = CodeMirror.fromTextArea(document.getElementById("ta_turtle"), {
|
var editor = CodeMirror.fromTextArea(document.getElementById("ta_turtle"), {
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
mode: 'turtle',
|
mode: 'turtle',
|
||||||
|
viewportMargin: Infinity,
|
||||||
theme: 'default'
|
theme: 'default'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue