Commit 46d40029 authored by Nikolay Gromov's avatar Nikolay Gromov

Тултипы: добавил листинг кода

parent d91342fe
...@@ -1547,7 +1547,9 @@ ...@@ -1547,7 +1547,9 @@
<span class="blocks-library__code-show-trigger" title="Показать код"><i class="blocks-library__code-icon"></i></span> <span class="blocks-library__code-show-trigger" title="Показать код"><i class="blocks-library__code-icon"></i></span>
<div class="blocks-library__code"> <div class="blocks-library__code">
<pre class="code"> <pre class="code">
<code>111</code> <code>&lt;span class="tooltip"></code>
<code> &lt;button class="tooltip__btn" aria-label="more info" data-tooltip-content="Текст подсказки может быть длинным. Хочется, чтобы &lt;em>внутри&lt;/em> &lt;small>можно было&lt;/small> &lt;i>использовать&lt;/i> &lt;b>разметку&lt;/b>.">Подсказка&lt;/button></code>
<code>&lt;/span></code>
</pre> </pre>
</div> </div>
</div> </div>
......
...@@ -15,6 +15,7 @@ $line-height: 1.375em !default; ...@@ -15,6 +15,7 @@ $line-height: 1.375em !default;
&__btn { &__btn {
display: inline-block; display: inline-block;
padding: 0;
width: $line-height; width: $line-height;
height: $line-height; height: $line-height;
overflow: hidden; overflow: hidden;
......
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