* [ticket #1334, doing, 0.2h] fix line break on copy entity lable.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.entity-label .label {box-shadow: none; border: 1px solid var(--color-gray-300); color: var(--color-gray-700); background: none;}
|
||||
.entity-label {min-width: 0;}
|
||||
.entity-title {white-space: nowrap; text-overflow: clip; overflow: hidden;}
|
||||
.entity-label .label {box-shadow: none; border: 1px solid var(--color-gray-300); color: var(--color-gray-700); background: none; display: inline-block; vertical-align: middle;}
|
||||
.entity-title {white-space: nowrap; text-overflow: clip; overflow: hidden; display: inline-block; line-height: 24px; vertical-align: middle;}
|
||||
.entity-title-1 {font-size: 1rem; color: var(--color-gray-900); font-weight: bold;}
|
||||
.entity-title-2 {font-size: 0.875rem; color: var(--color-gray-900); font-weight: bold;}
|
||||
.entity-title-3 {color: var(--color-gray-800); font-weight: bold;}
|
||||
|
||||
@@ -94,10 +94,10 @@ class entityLabel extends wg
|
||||
$entityName = $this->buildEntityName();
|
||||
return div
|
||||
(
|
||||
setClass('entity-label', 'flex', 'items-center', 'gap-x-2', 'overflow-hidden'),
|
||||
setClass('entity-label space-x-1.5 overflow-hidden'),
|
||||
set($this->getRestProps()),
|
||||
$prefix,
|
||||
$reverse ? array($entityName, $entityID) : array($entityID, $entityName),
|
||||
$reverse ? array($entityName, ' ', $entityID) : array($entityID, ' ', $entityName),
|
||||
$suffix
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user