Skip to content

Commit

Permalink
push local style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Oct 3, 2024
1 parent c2af019 commit 0835144
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
27 changes: 5 additions & 22 deletions R/FilteredData.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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'
});
});
",
Expand Down Expand Up @@ -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"))
)
)
)
Expand Down
1 change: 0 additions & 1 deletion R/FilteredDataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down
4 changes: 0 additions & 4 deletions inst/css/filter-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,6 @@ a.remove_all:hover {
margin-top: 0em;
}

.popover-body {
margin-bottom: -1rem;
}

.available-filters {
margin-top: 0em;
}
Expand Down

0 comments on commit 0835144

Please sign in to comment.