mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-04 10:11:26 +01:00
Et2File: Some CSS improvements to play nice wherever it's stuck
This commit is contained in:
parent
aef9ae0752
commit
ac9a3b13cf
@ -2,18 +2,25 @@ import {css} from 'lit';
|
||||
|
||||
export default css`
|
||||
:host {
|
||||
display: inline-block;
|
||||
flex: 1 1 fit-content;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
:host([loading]) .file__button et2-image {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file {
|
||||
width: 100%;
|
||||
}
|
||||
.file--single > div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.file__file-list {
|
||||
width: 100%;
|
||||
}
|
||||
.file__file-list::part(popup) {
|
||||
min-width: 25em;
|
||||
background-color: var(--sl-panel-background-color);
|
||||
|
@ -701,6 +701,7 @@ export class Et2File extends Et2InputWidget(LitElement)
|
||||
class="file__button"
|
||||
id="visible-button"
|
||||
?disabled=${this.disabled}
|
||||
title=${this.helptext ?? this.egw().lang("fileupload")}
|
||||
noSubmit
|
||||
image=${!this.loading ? this.image : ""}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user