mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
Et2VfsPath: Proper sizing down to about 20em
This commit is contained in:
parent
d0d3326974
commit
089dd5f7b1
@ -3,6 +3,8 @@ import {css} from 'lit';
|
|||||||
export default css`
|
export default css`
|
||||||
|
|
||||||
.form-control-input {
|
.form-control-input {
|
||||||
|
min-width: 15em;
|
||||||
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@ -28,7 +30,7 @@ export default css`
|
|||||||
|
|
||||||
.vfs-path__value-input {
|
.vfs-path__value-input {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
min-width: 20em;
|
min-width: 12em;
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
color: var(--input-text-color);
|
color: var(--input-text-color);
|
||||||
@ -64,7 +66,7 @@ export default css`
|
|||||||
sl-breadcrumb {
|
sl-breadcrumb {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 20em;
|
min-width: 10em;
|
||||||
}
|
}
|
||||||
|
|
||||||
et2-image {
|
et2-image {
|
||||||
|
@ -226,6 +226,11 @@ export class Et2VfsPath extends Et2InputWidget(LitElement)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected handleScroll(event : WheelEvent)
|
||||||
|
{
|
||||||
|
this.shadowRoot.querySelector("sl-breadcrumb").scrollLeft += event.deltaY;
|
||||||
|
}
|
||||||
|
|
||||||
protected _getIcon(pathParts)
|
protected _getIcon(pathParts)
|
||||||
{
|
{
|
||||||
let image = this.egw().image("filemanager", "api");
|
let image = this.egw().image("filemanager", "api");
|
||||||
|
Loading…
Reference in New Issue
Block a user