浏览代码

refactor(FloatingBox): no longer hide the box-header when scrolling in the box

Kristian Vos 3 年之前
父节点
当前提交
ab46437368
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      frontend/src/components/FloatingBox.vue

+ 2 - 1
frontend/src/components/FloatingBox.vue

@@ -174,8 +174,9 @@ export default {
 	.box-body {
 		display: flex;
 		flex-wrap: wrap;
-		justify-content: space-evenly;
 		padding: 10px;
+		height: calc(100% - 24px); /* 24px is the height of the box-header */
+		overflow: auto;
 
 		span {
 			padding: 3px 6px;