snackbar layer overlaping removed
gitea/salix/2087-snackbar_show_counter This commit looks good
Details
gitea/salix/2087-snackbar_show_counter This commit looks good
Details
This commit is contained in:
parent
d9783c80d1
commit
f7d1482466
|
@ -85,7 +85,7 @@ export default class Controller extends Component {
|
|||
chip.setAttribute('class', 'warning small');
|
||||
let parent = document.createElement('div');
|
||||
let span = document.createElement('span');
|
||||
let text = document.createTextNode(0);
|
||||
let text = document.createTextNode(1);
|
||||
span.append(text);
|
||||
parent.append(span);
|
||||
chip.append(parent);
|
||||
|
@ -105,7 +105,7 @@ export default class Controller extends Component {
|
|||
this.hideTimeout = setTimeout(() => {
|
||||
this.hide(shape);
|
||||
this.lastShape = null;
|
||||
}, data.timeout || 3000);
|
||||
}, data.timeout || 9000);
|
||||
|
||||
this.lastShape = {
|
||||
data: data,
|
||||
|
|
|
@ -22,13 +22,12 @@ vn-snackbar .shape {
|
|||
padding: 0.8em;
|
||||
|
||||
& > .text {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
vn-chip {
|
||||
position: absolute;
|
||||
left: -1.5em;
|
||||
top: -1.5em;
|
||||
left: -1em;
|
||||
top: -1em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue