摘要: 因为项目中 用到了 mui ,mui 的选项卡有时候无法自适应高度,这回导致有的tab 出现一大片空白区域... 从jquery 的 思路 是 用一个值 保存 当前 的 高度... 当 点击其他 tab 时 ,将当前 div 高度 设为0,将要显示的 div 高度设置为 auto ,依此方法执行,, 阅读全文
posted @ 2018-05-06 21:05 whmmm 阅读(1650) 评论(0) 推荐(0)
摘要: 刚开始以为是 justify-content : center 设置为 居中... 的确,,当 元素满了时 的确能 居中.但是 当只有一个元素时,这一个元素也会居中... 想了半天没找到方法..突然发现 justify-content: space-between 当设置成 两端对齐时, 然后 给  阅读全文
posted @ 2018-05-06 18:12 whmmm 阅读(7496) 评论(0) 推荐(0)
摘要: 16down voteaccepted +50 16down voteaccepted +50 +50 Open the settings and navigate to Editor > General > Appearance and tick "Show hard wrap guide (co 阅读全文
posted @ 2018-05-06 15:31 whmmm 阅读(2929) 评论(0) 推荐(0)
//增加一段JS脚本,为目录生成使用