Minor visual changes

This commit is contained in:
Anton 2023-11-28 09:41:10 +01:00
parent 7fdbc73098
commit 8f862f3290
4 changed files with 26 additions and 20 deletions

View file

@ -1,6 +1,6 @@
.ag-root-wrapper {
--agg-row-border-color: var(--sn-light-grey);
--ag-odd-row-background-color: var(--sn-super-light-grey);
--ag-odd-row-background-color: var(--sn-white);
--ag-header-background-color: var(--sn-light-grey);
--ag-selected-row-background-color: var(--sn-super-light-blue);
--ag-range-selection-border: var(--sn-science-blue);

View file

@ -1,8 +1,8 @@
<template>
<div class="flex items-center">
<div class="items-center -ml-1.5 my-2">
<MenuDropdown
:listItems="this.formattedList"
:btnClasses="'btn btn-light icon-btn'"
btnClasses="bg-transparent w-6 h-6 border-0 p-0 flex"
:position="'right'"
:alwaysShow="true"
:btnIcon="'sn-icon sn-icon-more-hori'"

View file

@ -183,8 +183,8 @@ export default {
this.columnDefs.push({
field: "rowMenu",
headerName: '',
width: 72,
minWidth: 72,
width: 42,
minWidth: 42,
resizable: false,
sortable: false,
cellRenderer: 'RowMenuRenderer',

View file

@ -64,9 +64,15 @@ module Lists
if @filters[:members].present?
records = records.joins(:user_assignments).where(user_assignments: { user_id: @filters[:members] })
end
records = records.where('projects.created_at > ?', @filters[:created_on_from]) if @filters[:created_on_from].present?
if @filters[:created_on_from].present?
records = records.where('projects.created_at > ?',
@filters[:created_on_from])
end
records = records.where('projects.created_at < ?', @filters[:created_on_to]) if @filters[:created_on_to].present?
records = records.where('projects.archived_on < ?', @filters[:archived_on_to]) if @filters[:archived_on_to].present?
if @filters[:archived_on_to].present?
records = records.where('projects.archived_on < ?',
@filters[:archived_on_to])
end
if @filters[:archived_on_from].present?
records = records.where('projects.archived_on > ?', @filters[:archived_on_from])
end