LIL-502 Textarea overflow fix

remotes/origin/hasaccess
nikita 8 years ago
parent 0355cebbe8
commit f1ca8a0cfa
  1. 2
      project/templates/lilcity/index.html
  2. 9
      web/src/components/CourseRedactor.vue

@ -30,7 +30,7 @@
{% comment %} <meta property="fb:admins" content="Facebook numeric ID"> {% endcomment %} {% comment %} <meta property="fb:admins" content="Facebook numeric ID"> {% endcomment %}
<meta name="csrf-token" content="{{ csrf_token }}"> <meta name="csrf-token" content="{{ csrf_token }}">
<link rel="stylesheet" media="all" href={% static "app.css" %}?2> <link rel="stylesheet" media="all" href={% static "app.css" %}?3>
<link rel="shortcut icon" type="image/png" href="{% static 'img/favicon.png' %}"/> <link rel="shortcut icon" type="image/png" href="{% static 'img/favicon.png' %}"/>
<script> <script>
var viewportmeta = document.querySelector('meta[name="viewport"]'); var viewportmeta = document.querySelector('meta[name="viewport"]');

@ -33,7 +33,7 @@
v-model="course.title"></textarea> v-model="course.title"></textarea>
</div> </div>
</div> </div>
<div class="info__field field field_info" <div class="info__field field field_info field_short_description"
v-bind:class="{ error: ($v.course.short_description.$dirty || showErrors) && $v.course.short_description.$invalid }"> v-bind:class="{ error: ($v.course.short_description.$dirty || showErrors) && $v.course.short_description.$invalid }">
<div class="field__label">{{titles.shortDescription}}</div> <div class="field__label">{{titles.shortDescription}}</div>
<div class="field__wrap"> <div class="field__wrap">
@ -1202,10 +1202,15 @@
.course-redactor__preview-button { .course-redactor__preview-button {
transition: backgroundColor 0.5s ease-in-out; transition: backgroundColor 0.5s ease-in-out;
} }
.field_text { .field_text {
height: 270px; height: 270px;
overflow: scroll; overflow: scroll;
} }
.field_short_description {
max-height: 200px;
overflow: scroll;
}
</style> </style>

Loading…
Cancel
Save