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>
This commit is contained in:
Max Peintner 2022-05-31 17:03:41 +02:00 committed by GitHub
parent ed36680ea1
commit f6193c70ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,9 +16,9 @@
}
.app-container {
display: flex;
flex-wrap: wrap;
margin-left: -1rem;
display: grid;
grid-template-columns: repeat(auto-fit, 120px);
grid-auto-rows: auto;
padding-bottom: 2rem;
.sp-container {
@ -34,7 +34,6 @@
display: flex;
flex-direction: column;
align-items: center;
max-width: 150px;
.grid-card {
cursor: pointer;
@ -54,11 +53,19 @@
.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;
}
}
}