Max Peintner f6193c70ac
fix(console): application grid overflow (#3744)
* fix: use css grid instead of flex

* ellipsis overflow

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-05-31 15:03:41 +00:00

72 lines
1.3 KiB
SCSS

.app-grid-h2 {
font-weight: 400;
font-size: 16px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin: 2rem 0 1rem 0;
}
.app-grid-header {
display: flex;
align-items: center;
.fill-space {
flex: 1;
}
}
.app-container {
display: grid;
grid-template-columns: repeat(auto-fit, 120px);
grid-auto-rows: auto;
padding-bottom: 2rem;
.sp-container {
display: flex;
justify-content: center;
align-items: center;
width: calc(82px + 2rem);
height: calc(82px + 2rem);
}
.app-wrap {
outline: none;
display: flex;
flex-direction: column;
align-items: center;
.grid-card {
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 2rem;
height: 80px;
width: 80px;
margin: 1rem;
text-transform: uppercase;
border-radius: 0.5rem;
font-weight: 800;
box-sizing: border-box;
}
.name {
font-size: 14px;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
}
.type {
font-size: 12px;
color: #8a868a;
text-align: center;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
}
}
}