仪表盘
版本库
文件存储
活动
搜索
登录
main
/
dfgApi
大返官php后台
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge branch 'hotfix/618修复'
zhaojs
2023-06-19
a19cc48030b101962b20e5abea5e8dec4e899031
[dfgApi.git]
/
public
/
assets
/
less
/
bootstrap-less
/
mixins
/
nav-vertical-align.less
1
2
3
4
5
6
7
8
9
// Navbar vertical align
//
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
.navbar-vertical-align(@element-height) {
margin-top: ((@navbar-height - @element-height) / 2);
margin-bottom: ((@navbar-height - @element-height) / 2);
}