.manageComponent { display: flex; min-width: 1200px; height: calc(100vh - 98px); flex-direction: column; gap: 6px; .cardResetCss .ant-tabs-nav { margin-bottom: 0; } .manageComponent-content { flex: 1; overflow: hidden; >.ant-spin-nested-loading { height: 100%; overflow: hidden; >.ant-spin-container { height: 100%; overflow: hidden; } } .content_scroll { height: 100%; overflow: hidden; } } .manageComponent-header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .manageComponent-footer { padding: 10px 16px; border-top: 1px solid #e8e8e8; } } .clear { color: red; } .box { width: 60%; height: 200px; display: flex; align-items: center; justify-content: center; background-color: #f5f7fa; flex-direction: column; color: rgba(0, 0, 0, .3); border-radius: 6px; /* TWEENER - IE 10 */ >p, .p { display: flex; align-items: center; flex-flow: column; font-size: 10px; cursor: pointer; max-height: 150px; margin-bottom: 0; max-width: 100%; img { max-height: 99%; max-width: 99%; } video { max-height: 99%; max-width: 99%; } } >.p>div { height: 100%; >div { height: 100%; } } } .boxList { min-height: 150px; padding: 16px; box-sizing: border-box; width: 100%; border: 1px solid #e6e8ed; border-radius: 6px; } .boxList_title { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 10px; >span { font-weight: bold; color: #000; } } .boxList_body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; } .boxList_body_item { border: 1px solid #e6e8ed; border-radius: 6px; background-color: rgb(242, 246, 254); position: relative; .content { width: 100px; height: 100px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; border-radius: 6px; >img { max-width: 100%; max-height: 100%; } } .tag { position: absolute; top: 4px; left: 4px; padding: 0 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.8); color: rgb(98, 99, 102); font-size: 12px; } .clear { position: absolute; top: -9px; right: -6px; color: red; cursor: pointer; opacity: 0; transition: opacity ease-out .1s; } &:hover .clear { opacity: 1; } }