How to move action button into area where it may be obscured by a dropdown menu?

In the below R Shiny code, the below HTML/CSS section at the top of the ui is very important in keeping the width of the sidebar panel fixed while the main panel contracts/expands to match the window size as the user adjusts the window, while allowing certain objects like plots to automatically adjust in size, both expanding and contracting (it works great, I don’t want to lose this functionality):

tags$head(
      tags$style(HTML("
      .sidebar {
        flex-shrink: 0;
      }
      .main-panel {
        flex-grow: 1;
        margin-left: 20px;
        resize: both;
        overflow: auto;
      }
      .main-panel > div {
        width: 100%;
        height: 100%;
      }
    "))
    )

However, this above code snippet and the overflow = "visible" specification in the rhandsontable() function in the server section cause the “Add series” action button to be placed far below the user input table hottable_1, as shown in the below image. I comment out either of the above and I either lose the important fixed sidebar panel and adjustable size main panel/plots, or the dropdown menu in the second row of input table hottable_1 is truncated when the user clicks on it. But if I comment out either of the above the action button in correctly placed under hottable_1.

How can I move the “Add series” action button so it is placed immediately beneath hottable_1, while keeping the functionality of the above HTML/CSS snippet and not truncating the dropdown menu when the user clicks on it? Preferable the dropdown would cover part of the action button; once the user makes the dropdown selection the dropdown retracts anyway revealing the action button.

Code:

library(jsonlite)
library(rhandsontable)
library(shiny)

ui <- 
  fluidPage(
    tags$head(
      tags$style(HTML("
      .sidebar {
        flex-shrink: 0;
      }
      .main-panel {
        flex-grow: 1;
        margin-left: 20px;
        resize: both;
        overflow: auto;
      }
      .main-panel > div {
        width: 100%;
        height: 100%;
      }
    "))
    ),
    titlePanel(""),
    div(
      style = "display: flex; align-items: flex-start;",
      div(class = "sidebar",wellPanel()),
      div(
        class = "main-panel",
        "Parent tab", value = 'parent_tab',
          tabsetPanel(
            tabPanel(
              "Child tab",
              rHandsontableOutput('hottable_1'),
              actionButton("addSeries","Add series"),
            )
          )
      )
    )
  )

server <- function(input, output, session) {
  seriesTbl_1 <- reactiveVal(
    data.frame(
      'Series1' = c(1, NA_character_),
      row.names = c("Row_A", "Row_B")
    )
  )
  
  choiceSelect <- toJSON(c('Choice A', 'Choice B', 'Choice C', 'Choice D', 'Choice E'))
  
  observeEvent(input$hottable_1, {
    seriesTbl_1(hot_to_r(input$hottable_1))
    tbl <- seriesTbl_1()
  })
  
  output$hottable_1 <- renderRHandsontable({
    tbl <- seriesTbl_1()
    colNames <- paste0("Series", 1:ncol(tbl))
    colnames(tbl) <- colNames
    rhandsontable(
      tbl,
      overflow = "visible"
    ) %>%
      hot_table(id = "hottable_1") %>%
      htmlwidgets::onRender(sprintf("
        function(el, x) {
          var hot = this.hot;
          var listElements = %s;
          hot.updateSettings({
            cells: function (row, col, prop) {
              var cellProperties = {};
              if (row === 1) {  
                cellProperties.type = 'dropdown';
                cellProperties.source = listElements;
              } 
              return cellProperties;
            }
          });
        }
      ", choiceSelect))
  })
  
  observeEvent(input$addSeries, {
    newSeriesCol_1 <- data.frame(c(1, NA_character_))
    names(newSeriesCol_1) <- paste("Series", ncol(seriesTbl_1()) + 1)
    seriesTbl_1(cbind(seriesTbl_1(), newSeriesCol_1))
  })
  
  seriesTbl_1_DF <- reactive({
    tbl <- seriesTbl_1()
    colNames <- paste0("Series", 1:ncol(tbl))
    colnames(tbl) <- colNames
    tbl
  })
}

shinyApp(ui, server)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật