chat designer: add loader to browser input
This commit is contained in:
parent
4a6f99b928
commit
f4c4dcf9b3
2 changed files with 14 additions and 2 deletions
|
@ -63,7 +63,7 @@
|
|||
<div class="browser-head">
|
||||
<form class="browser-input js-testurl" novalidate>
|
||||
<input type="url" class="js-testurl-input" id="preview-iframe" placeholder="zammad.org">
|
||||
<span class="help-block"><%- @T("Because of security reasons some websites can't be displayed (for example google.com).") %></span>
|
||||
<div class="loading icon small"></div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="browser-body js-demo">
|
||||
|
|
|
@ -7439,10 +7439,22 @@ output {
|
|||
|
||||
.browser-input {
|
||||
flex: 1;
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
|
||||
input {
|
||||
min-width: 0;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.loading.icon {
|
||||
position: absolute;
|
||||
right: 11px;
|
||||
top: 11px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.is-loading .loading.icon {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue