Skip to content

Commit 58f7f8d

Browse files
committedSep 28, 2016
fix(demo): improved the style usage
1 parent c10a6b1 commit 58f7f8d

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed
 

‎src/demo/demo.html

+6-10
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@
99
<link rel='stylesheet' href='../bower_components/font-awesome/css/font-awesome.css'>
1010
<link rel="stylesheet" href="http://textangular.com/dist/textAngular.css" type="text/css">
1111
<style>
12-
.ta-editor {
13-
min-height: 300px;
14-
height: auto;
15-
overflow: auto;
16-
font-family: inherit;
17-
font-size: 100%;
18-
}
19-
h1 small {
20-
font-size: 60%;
21-
}
12+
h1 small {
13+
font-size: 60%;
14+
}
15+
textarea.ta-bind {
16+
width: 100%;
17+
}
2218
</style>
2319

2420
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js'></script>

‎src/demo/textAngular.com.html

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
<link rel="stylesheet" href="http://textangular.com/dist/textAngular.css" type="text/css">
2121
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js" type="text/javascript"></script>
2222
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js'></script>
23+
<style>
24+
textarea.ta-bind {
25+
width: 100%;
26+
}
27+
</style>
28+
2329
<!-- enable this section or the non-minimized section below -->
2430
<% js.forEach(function(each){ %>
2531
<script src='../<%= each %>'></script>

0 commit comments

Comments
 (0)