Commit 32757d64 authored by Clement Ho's avatar Clement Ho Committed by Jose

Use d-block

parent 9e631682
...@@ -90,7 +90,7 @@ const bindEvents = () => { ...@@ -90,7 +90,7 @@ const bindEvents = () => {
function chooseTemplate() { function chooseTemplate() {
$('.template-option').hide(); $('.template-option').hide();
$projectFieldsForm.addClass('selected'); $projectFieldsForm.addClass('selected');
$selectedIcon.removeClass('active'); $selectedIcon.removeClass('d-block');
const value = $(this).val(); const value = $(this).val();
const templates = { const templates = {
rails: { rails: {
...@@ -109,7 +109,7 @@ const bindEvents = () => { ...@@ -109,7 +109,7 @@ const bindEvents = () => {
const selectedTemplate = templates[value]; const selectedTemplate = templates[value];
$selectedTemplateText.text(selectedTemplate.text); $selectedTemplateText.text(selectedTemplate.text);
$(selectedTemplate.icon).addClass('active'); $(selectedTemplate.icon).addClass('d-block');
$templateProjectNameInput.focus(); $templateProjectNameInput.focus();
} }
......
...@@ -161,10 +161,6 @@ table { ...@@ -161,10 +161,6 @@ table {
} }
} }
.input-group-prepend svg.active {
border: 0 !important;
}
// Polyfill deprecated selectors // Polyfill deprecated selectors
.hidden { .hidden {
......
...@@ -541,10 +541,6 @@ ...@@ -541,10 +541,6 @@
top: 7px; top: 7px;
height: 20px; height: 20px;
width: 20px; width: 20px;
&.active {
display: block;
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment