Browse Source

Динамический размер шрифта, убрал боковую панель

- На странице редактирования постов убрал боковую панель.
- Поставил динамический размер шрифта редактора постов через vmin
master
Alexander Yakovlev 3 years ago
parent
commit
c5b672bff0
Signed by: oreolek
GPG Key ID: 1CDC4B7820C93BD3
  1. 6
      actions/ActionContent/add.tpl
  2. 18
      actions/ActionContent/edit.tpl
  3. 4
      assets/css/layout.css

6
actions/ActionContent/add.tpl

@ -9,6 +9,10 @@
{extends 'layouts/layout.content.form.tpl'}
{block 'layout_options' append}
{$layoutShowSidebar = false}
{/block}
{block 'layout_content'}
{component 'topic.add-type' topic=$topicEdit type=$topicType blogs=$blogsAllow blogId=$blogId skipBlogs=$skipBlogs}
{/block}
{/block}

18
actions/ActionContent/edit.tpl

@ -0,0 +1,18 @@
{**
* Создание/редактирование топика
*
* @parama object $topicEdit
* @parama string $topicType
* @parama array $blogsAllow
* @parama integer $blogId
*}
{extends 'layouts/layout.content.form.tpl'}
{block 'layout_options' append}
{$layoutShowSidebar = false}
{/block}
{block 'layout_content'}
{component 'topic.add-type' topic=$topicEdit type=$topicType blogs=$blogsAllow blogId=$blogId skipBlogs=$skipBlogs}
{/block}

4
assets/css/layout.css

@ -112,5 +112,7 @@
.markItUp .markItUpContainer .markItUpEditor {
font-size: 12pt;
font-family: "Fira Code", "Anonymous Pro", "PT Mono", "Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace;
font-size: 1.6vmin;
line-height: 1.6;
font-family: "Fira Code","Anonymous Pro","PT Mono","IBM Plex Mono", "Noto Mono","Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace;
}

Loading…
Cancel
Save