feat: settings risk sections as 2x2 nested subcards
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2201,6 +2201,38 @@ html[data-theme="light"] .journal-detail-img-thumb {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.settings-risk-sections {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.settings-subcard {
|
||||
padding: 12px 14px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.settings-subcard-title {
|
||||
margin: 0 0 10px;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
color: #cfd3ef;
|
||||
}
|
||||
|
||||
.settings-kv--compact .settings-kv-row {
|
||||
grid-template-columns: 8.5em 1fr;
|
||||
padding: 5px 0;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.settings-risk-sections {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
margin-top: 14px;
|
||||
padding-top: 12px;
|
||||
@@ -2282,6 +2314,7 @@ html[data-theme="light"] .settings-section {
|
||||
border-top-color: #d0dae4;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .settings-subcard-title,
|
||||
html[data-theme="light"] .settings-section h3,
|
||||
html[data-theme="light"] .settings-kv-value {
|
||||
color: #142232;
|
||||
|
||||
Reference in New Issue
Block a user