mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
feat(columnDesc): add front description in single card widget
This commit is contained in:
@@ -37,6 +37,13 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.g_record_detail_description {
|
||||
min-height: 1rem;
|
||||
color: #666;
|
||||
font-size: 0.9rem;
|
||||
font-weight: normal;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.g_record_detail_value {
|
||||
position: relative;
|
||||
min-height: 16px;
|
||||
@@ -241,6 +248,16 @@
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
.detail_theme_field_form>.g_record_detail_description {
|
||||
font-size: var(--grist-small-font-size);
|
||||
color: var(--grist-theme-card-form-label, var(--grist-color-slate));
|
||||
font-weight: normal;
|
||||
min-height: 0px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin-right: -8px;
|
||||
}
|
||||
/* TODO want to style better the values themselves (e.g. more padding, rounded corners, move label
|
||||
* inside value box for compact view for better cursor looks, etc), but first the cell editor
|
||||
* needs to learn to match the value box's style. Right now, the cell editor style is hard-coded.
|
||||
|
||||
Reference in New Issue
Block a user