From 94c551ebf81203586f7a908c5f823649bc3ca8f5 Mon Sep 17 00:00:00 2001 From: xamgore <xamgore@ya.ru> Date: Thu, 3 Sep 2015 03:08:29 +0300 Subject: [PATCH] Fixed button width --- .../views/teacher/discipline/edit/structure.twig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/~dev_rating/application/views/teacher/discipline/edit/structure.twig b/~dev_rating/application/views/teacher/discipline/edit/structure.twig index aedef3da4..0e94e9222 100644 --- a/~dev_rating/application/views/teacher/discipline/edit/structure.twig +++ b/~dev_rating/application/views/teacher/discipline/edit/structure.twig @@ -27,7 +27,7 @@ <div class="actions">Действия</div> {% endif %} </div> - <div class="moduleList StructureTable"> + <div class="moduleList StructureTable" style="overflow:visible"> {% for module in Map.Modules %} {% if module.Type == 'regular' %} <div class="moduleGroup" id="{{ module.ID }}"> @@ -98,9 +98,9 @@ {% else %} <div class="empty"><p class="notification">Модули отсутствуют</p></div> {% endfor %} + + {% if Discipline.IsLocked != 1 %} + <button class="addModule">Добавить модуль</button> + {% endif %} </div> - - {% if Discipline.IsLocked != 1 %} - <button class="addModule">Добавить модуль</button> - {% endif %} {% endblock %} -- GitLab