[FIX] web_editor: remove we validation icons
Since the bootstrap update to 4.2.1 (which was made with https://github.com/odoo/odoo/commit/63e52e6acfabb927aad6eaf7b020520dc206e50f) bootstrap includes automatic validation icons when a form is validated. This allows to remove the Odoo custom ones in the editor (which appeared on top of the bootstrap ones). closes odoo/odoo#32051 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -373,22 +373,6 @@ body .modal {
|
||||
padding-bottom: 25px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.o_validate_feedback {
|
||||
@include o-position-absolute(auto, 10px, 10px);
|
||||
|
||||
>.fa {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.o_has_error .o_validate_feedback>.fa-exclamation-triangle {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.o_has_success .o_validate_feedback>.fa-check {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -244,10 +244,6 @@
|
||||
<div class="form-group mb-2" id="o_video_form_group">
|
||||
<label class="col-form-label" for="o_video_text">
|
||||
Video code <small>(URL or Embed)</small>
|
||||
<div class="o_validate_feedback">
|
||||
<i class="fa fa-check text-success" role="img" aria-label="Checked" title="Checked"/>
|
||||
<i class="fa fa-exclamation-triangle text-danger" role="img" aria-label="Attention" title="Attention"/>
|
||||
</div>
|
||||
</label>
|
||||
<textarea class="form-control" id="o_video_text" placeholder="Copy-paste your URL or embed code here"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user