fix: fixed card height 480px, icon constrained, info-area scrolls
This commit is contained in:
@@ -322,6 +322,8 @@ button {
|
||||
}
|
||||
.service-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
|
||||
grid-auto-rows: 480px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.category-strip {
|
||||
margin-top: 0.9rem;
|
||||
@@ -347,7 +349,6 @@ button {
|
||||
.tile-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.svc-credentials {
|
||||
@@ -424,6 +425,7 @@ button {
|
||||
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tile:hover {
|
||||
transform: translateY(-2px);
|
||||
@@ -433,6 +435,7 @@ button {
|
||||
.tile-icon-box {
|
||||
width: min(100%, 336px);
|
||||
aspect-ratio: 1 / 1;
|
||||
max-height: 180px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid #d8e3ed;
|
||||
background: #edf3f9;
|
||||
@@ -440,6 +443,7 @@ button {
|
||||
place-items: center;
|
||||
margin: 0 auto 0.8rem;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.tile-icon {
|
||||
width: 88%;
|
||||
@@ -466,14 +470,11 @@ button {
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.tile-comment {
|
||||
display: block;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
line-height: 1.35;
|
||||
padding-right: 0.2rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user