From 08351448f2496c7132d8dcae7a4b854bea95dfa3 Mon Sep 17 00:00:00 2001 From: vedhav Date: Thu, 3 Oct 2024 17:17:27 +0530 Subject: [PATCH] push local style changes --- R/FilteredData.R | 27 +++++---------------------- R/FilteredDataset.R | 1 - inst/css/filter-panel.css | 4 ---- 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/R/FilteredData.R b/R/FilteredData.R index a5fef3088..a212bbca4 100644 --- a/R/FilteredData.R +++ b/R/FilteredData.R @@ -559,7 +559,6 @@ FilteredData <- R6::R6Class( # nolint id = ns("main_filter_accordian"), bslib::accordion_panel( "Filter Data", - icon = icon("fas fa-filter"), tags$div( div( id = ns("available_filters_ui"), @@ -599,7 +598,7 @@ FilteredData <- R6::R6Class( # nolint $('#%s i').css({ 'color': 'var(--bs-accordion-color)', 'font-size': '1.3rem', - 'margin-bottom': '0.7rem' + 'margin-bottom': '0.3rem' }); }); ", @@ -739,27 +738,11 @@ FilteredData <- R6::R6Class( # nolint id = ns("main_filter_accordian"), bslib::accordion_panel( title = "Active Filter Summary", - tagList( - tags$div( - class = "col-sm-3", - tags$a( - class = "filter-icon", - tags$i( - class = "fa fa-angle-down", - title = "fold/expand ...", - onclick = sprintf( - "togglePanelItems(this, '%s', 'fa-angle-down', 'fa-angle-right');", - ns("filters_overview_contents") - ) - ) - ) - ), + tags$div( + id = ns("filters_overview_contents"), tags$div( - id = ns("filters_overview_contents"), - tags$div( - class = "teal_active_summary_filter_panel", - tableOutput(ns("table")) - ) + class = "teal_active_summary_filter_panel", + tableOutput(ns("table")) ) ) ) diff --git a/R/FilteredDataset.R b/R/FilteredDataset.R index ede363ca5..e29af9a2b 100644 --- a/R/FilteredDataset.R +++ b/R/FilteredDataset.R @@ -217,7 +217,6 @@ FilteredDataset <- R6::R6Class( # nolint class = "teal-slice-dataset-filter", bslib::accordion_panel( dataname, - icon = icon("fas fa-table"), tags$div( id = ns("whole_ui"), # to hide it entirely uiOutput(ns("active_filter_badge")), diff --git a/inst/css/filter-panel.css b/inst/css/filter-panel.css index 3fad388d8..09d0ff65c 100644 --- a/inst/css/filter-panel.css +++ b/inst/css/filter-panel.css @@ -482,10 +482,6 @@ a.remove_all:hover { margin-top: 0em; } -.popover-body { - margin-bottom: -1rem; -} - .available-filters { margin-top: 0em; }