Commit 3e6932cb authored by Nikolay Gromov's avatar Nikolay Gromov

library fix

parent 03daa675
...@@ -51,12 +51,17 @@ ...@@ -51,12 +51,17 @@
} }
&__code-show-trigger { &__code-show-trigger {
position: absolute; display: block;
top: 0;
left: -4rem;
width: 3rem; width: 3rem;
height: 2rem; height: 2rem;
cursor: pointer; cursor: pointer;
margin-bottom: .3em;
@media (min-width: @screen-md) {
position: absolute;
top: 0;
left: -4rem;
}
} }
&__code-icon { &__code-icon {
......
...@@ -1524,6 +1524,7 @@ ...@@ -1524,6 +1524,7 @@
<section class="blocks-library__item" id="btn" data-name=".btn"> <section class="blocks-library__item" id="btn" data-name=".btn">
<h1 class="blocks-library__item-title">Кнопки</h1> <h1 class="blocks-library__item-title">Кнопки</h1>
<div class="blocks-library__sub-item"> <div class="blocks-library__sub-item">
<div class="js-font-resizer">
<p> <p>
<input type="text" value="Текстовое поле для сравнения высоты" title="Текстовое поле для сравнения высоты" style="width:70px"> <input type="text" value="Текстовое поле для сравнения высоты" title="Текстовое поле для сравнения высоты" style="width:70px">
<a href="" class="btn">Cсылка</a> <a href="" class="btn">Cсылка</a>
...@@ -1542,6 +1543,7 @@ ...@@ -1542,6 +1543,7 @@
<input type="submit" class="btn btn--danger" value="Input"> <input type="submit" class="btn btn--danger" value="Input">
<button class="btn btn--danger">Button</button> <button class="btn btn--danger">Button</button>
</p> </p>
</div>
<div class="blocks-library__code-wrapper js-library-code-parent"> <div class="blocks-library__code-wrapper js-library-code-parent">
<span class="blocks-library__code-show-trigger js-library-code-toggler" title="Показать код"><i class="blocks-library__code-icon"></i></span> <span class="blocks-library__code-show-trigger js-library-code-toggler" title="Показать код"><i class="blocks-library__code-icon"></i></span>
<div class="blocks-library__code js-library-code"> <div class="blocks-library__code js-library-code">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment