forked from extern/egroupware
Et2Select: Ellipsis on tags that are too long
This commit is contained in:
parent
e8e3d2fc38
commit
d9f094053f
@ -35,10 +35,12 @@ export class Et2EmailTag extends Et2Tag
|
||||
.tag__prefix {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
flex: 0 1 auto;
|
||||
|
||||
background-color: initial;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position-y: center;
|
||||
|
||||
opacity: 30%;
|
||||
cursor: pointer;
|
||||
|
@ -23,6 +23,7 @@ export class Et2Tag extends Et2Widget(SlTag)
|
||||
shoelace, css`
|
||||
:host {
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tag--pill {
|
||||
overflow: hidden;
|
||||
@ -34,7 +35,9 @@ export class Et2Tag extends Et2Widget(SlTag)
|
||||
}
|
||||
.tag__content {
|
||||
padding: 0px 0.2rem;
|
||||
flex: 1 1 auto;
|
||||
flex: 1 2 auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
/* Avoid button getting truncated by right side of button */
|
||||
.tag__remove {
|
||||
|
Loading…
Reference in New Issue
Block a user