mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-27 08:29:53 +03:00
Adjusting the icons that were misaligned.
and creating features to position the left and right By default the icons are implemented the left but if do need to use right, add (.icon-right) Issue: need to document! ---- Ajustando os icones que ficaram desalinhados. e criando as funcionalidades de posicionar a esquerda e direita Por padrão os icones são implementados a esquerda porém caso se faça necessário utilizar direita, acrescente (.icon-right) Issue: precisamos documentar!
This commit is contained in:
parent
4fef2c7c96
commit
1125333006
|
@ -3,3 +3,21 @@
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn:not(.btn-fab) {
|
||||||
|
[class^=mdi-],
|
||||||
|
[class*=mdi-] {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
top: 50%;
|
||||||
|
margin-right: 5px;
|
||||||
|
margin-left: -12px;
|
||||||
|
margin-top: -3px;
|
||||||
|
|
||||||
|
&.icon-right{
|
||||||
|
float: right;
|
||||||
|
margin-right: -12px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user