fix long url field value scroll view
This commit is contained in:
@@ -190,6 +190,9 @@ table {
|
||||
&.col-field-type-select {
|
||||
min-width: 180px;
|
||||
}
|
||||
&.col-field-type-url {
|
||||
max-width: 300px;
|
||||
}
|
||||
&.col-field-type-email {
|
||||
min-width: 120px;
|
||||
white-space: nowrap;
|
||||
|
||||
@@ -15,7 +15,7 @@ export function view(props) {
|
||||
|
||||
return t.a({
|
||||
href: () => value,
|
||||
className: "txt txt-ellipsis",
|
||||
className: () => `txt ${props.short ? "txt-ellipsis" : ""}`,
|
||||
rel: "noopener noreferrer",
|
||||
target: "_blank",
|
||||
textContent: app.utils.truncate(value),
|
||||
|
||||
Reference in New Issue
Block a user