Use d-block
This commit is contained in:
parent
9e63168282
commit
32757d6455
3 changed files with 2 additions and 10 deletions
|
@ -90,7 +90,7 @@ const bindEvents = () => {
|
|||
function chooseTemplate() {
|
||||
$('.template-option').hide();
|
||||
$projectFieldsForm.addClass('selected');
|
||||
$selectedIcon.removeClass('active');
|
||||
$selectedIcon.removeClass('d-block');
|
||||
const value = $(this).val();
|
||||
const templates = {
|
||||
rails: {
|
||||
|
@ -109,7 +109,7 @@ const bindEvents = () => {
|
|||
|
||||
const selectedTemplate = templates[value];
|
||||
$selectedTemplateText.text(selectedTemplate.text);
|
||||
$(selectedTemplate.icon).addClass('active');
|
||||
$(selectedTemplate.icon).addClass('d-block');
|
||||
$templateProjectNameInput.focus();
|
||||
}
|
||||
|
||||
|
|
|
@ -161,10 +161,6 @@ table {
|
|||
}
|
||||
}
|
||||
|
||||
.input-group-prepend svg.active {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
// Polyfill deprecated selectors
|
||||
|
||||
.hidden {
|
||||
|
|
|
@ -541,10 +541,6 @@
|
|||
top: 7px;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue