Просмотр исходного кода

Merge pull request #2149 from weseek/imprv/page-create-dropdown-responsive

Imprv/page create dropdown responsive
Yuki Takei 5 лет назад
Родитель
Сommit
2383de9cdf
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/server/views/modal/create_page.html

+ 2 - 2
src/server/views/modal/create_page.html

@@ -62,10 +62,10 @@
                   </a>
                   </a>
                   <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
                   <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
                     <button class="dropdown-item" type="button" data-template-type="children">
                     <button class="dropdown-item" type="button" data-template-type="children">
-                      {{ t('template.children.label') }} (_template) <small class="text-muted">- {{ t('template.children.desc') }}</small>
+                      {{ t('template.children.label') }} (_template)<br class="d-block d-md-none" /><small class="text-muted text-wrap">- {{ t('template.children.desc') }}</small>
                     </button>
                     </button>
                     <button class="dropdown-item" type="button" data-template-type="decentants">
                     <button class="dropdown-item" type="button" data-template-type="decentants">
-                      {{ t('template.decendants.label') }} (__template) <small class="text-muted">- {{ t('template.decendants.desc') }}</small>
+                      {{ t('template.decendants.label') }} (__template) <br class="d-block d-md-none" /><small class="text-muted">- {{ t('template.decendants.desc') }}</small>
                     </button>
                     </button>
                   </div>
                   </div>
                 </div>
                 </div>