Commit f9abddf8 authored by Nikolay Gromov's avatar Nikolay Gromov

btn-group fix

parent 5ce6499d
......@@ -6,6 +6,8 @@
display: inline-flex;
.btn {
margin-left: -1px;
&:not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
......@@ -16,4 +18,22 @@
border-bottom-left-radius: 0;
}
}
> * {
margin-left: -1px;
&:not(:last-child) {
.btn {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}
&:not(:first-child) {
.btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
}
}
......@@ -649,6 +649,16 @@
<button class="btn">Отправить</button>
<button class="btn btn--main">Отменить</button>
<button class="btn">Отменить</button>
<span role="presentation" class="dropdown">
<button class="dropdown__toggler btn" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Выпадение от пр. края
</button>
<ul class="dropdown__menu dropdown__menu--right">
<li><a href="#">Пункт списка (выпадает <code>ul</code>)</a></li>
<li><a href="">Пункт меню весьма длинный</a></li>
<li><a href="">Второй пункт</a></li>
</ul>
</span>
</div>
</div>
......
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