mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-12 01:07:27 +02:00
fix long url field value scroll view
This commit is contained in:
1 parent
8d30cb57e2
commit
be6671b2eb
11 files changed
+20
-12
No files matched your search
@@ -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