Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/FOUR-15039: The styles of the options in Welcome Screen are not the same as in figma #1573

Merged
merged 8 commits into from
Apr 18, 2024
37 changes: 23 additions & 14 deletions src/components/renderer/form-list-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@
</span>
</template>
<b-dropdown-item
variant="success"
@click="
handleDropdownSelection('requests_dropdown', 'In Progress')
"
@click="handleDropdownSelection('requests_dropdown', 'all')"
>
<i class="fas fa-circle mr-2" />{{ $t("In Progress") }}
{{ $t("View All") }}
</b-dropdown-item>
<b-dropdown-item
variant="primary"
Expand All @@ -66,9 +63,12 @@
<i class="fas fa-circle mr-2" />{{ $t("Completed") }}
</b-dropdown-item>
<b-dropdown-item
@click="handleDropdownSelection('requests_dropdown', 'all')"
variant="success"
@click="
handleDropdownSelection('requests_dropdown', 'In Progress')
"
luNunezProcessmaker marked this conversation as resolved.
Show resolved Hide resolved
>
{{ $t("View All") }}
<i class="fas fa-circle mr-2" />{{ $t("In Progress") }}
</b-dropdown-item>
</b-dropdown>
</div>
Expand All @@ -86,20 +86,20 @@
{{ $t(titleDropdown) }}
</span>
</template>
<b-dropdown-item
variant="warning"
@click="handleDropdownSelection('tasks', 'In Progress')"
>
<i class="fas fa-circle mr-2" />{{ $t("In Progress") }}
<b-dropdown-item @click="handleDropdownSelection('tasks', 'all')">
{{ $t("View All") }}
</b-dropdown-item>
<b-dropdown-item
variant="danger"
@click="handleDropdownSelection('tasks', 'Overdue')"
>
<i class="fas fa-circle mr-2" />{{ $t("Overdue") }}
</b-dropdown-item>
<b-dropdown-item @click="handleDropdownSelection('tasks', 'all')">
{{ $t("View All") }}
<b-dropdown-item
variant="warning"
@click="handleDropdownSelection('tasks', 'In Progress')"
>
<i class="fas fa-circle mr-2" />{{ $t("In Progress") }}
</b-dropdown-item>
</b-dropdown>
</div>
Expand Down Expand Up @@ -327,4 +327,13 @@ export default {
.btn-outline-secondary {
border: none;
}

.dropdown-menu.show {
padding: 10px;
width: 211px;
}

.dropdown-item {
padding: 12px 8px;
}
</style>
Loading