Compare commits

4 Commits

3 changed files with 33 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
Package: AVSDevR.MarineNoiseRegistry Package: AVSDevR.MarineNoiseRegistry
Title: Marine Noise Registry Common Code Package Title: Marine Noise Registry Common Code Package
Version: 1.0.2 Version: 1.0.4
Authors@R: Authors@R:
person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre")) person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre"))
Description: Comon code and assets for all of the Marine Noise Registry Description: Comon code and assets for all of the Marine Noise Registry

View File

@@ -357,7 +357,9 @@ MNR.DB.Applications <- R6::R6Class(
# Work out what the closeout closeout year should be # Work out what the closeout closeout year should be
dplyr::mutate( dplyr::mutate(
closeout_year = as.Date(paste( closeout_year = as.Date(paste(
lubridate::year(pmax(start_date, closed_at, na.rm = TRUE)), lubridate::year(
pmax(start_date, last_closeout_at, closed_at, na.rm = TRUE)
),
12L, 12L,
31L, 31L,
sep = "-" sep = "-"

View File

@@ -85,3 +85,32 @@ hr {
.shiny-notification-close { .shiny-notification-close {
font-size: 2em !important; font-size: 2em !important;
} }
.dt-scroll-x {
overflow-x: auto;
clear: both;
}
.dt-scroll-x table {
width: 150% !important;
}
.dt-sticky-left-border {
border-right: 3px double #000000;
}
.dt-sticky-right-border {
border-left: 3px double #000000;
}
@media(max-width:1200px) {
.dtfc-fixed-left {
position: inherit !important;
}
.dtfc-fixed-right {
position: inherit !important;
}
.dt-sticky-left-border {
border-right: 0;
}
.dt-sticky-right-border {
border-left: 0;
}
}