Skip to content

does tabset not work at the h4 level? #416

@DataStrategist

Description

@DataStrategist

Perhaps related to this issue, but I think different enough to merit a new issue:

I'm struggling to add a tabset at the h4 granularity. Take a look at this code:

    ---
    title: "report x"
    output: 
      flexdashboard::flex_dashboard:
        orientation: rows
        vertical_layout: fill
    ---
    
    
    ```{r setup, include=FALSE}
    suppressPackageStartupMessages(library(flexdashboard))
    library(htmltools)
    ```
    
    # page1
    
    ```
    
    ## Row 2
    
    ### Chart 4 {.tabset .tabset-fade}
    
    ```{r}
    ```
    
    #### Subchart 4.1
    
    ```{r}
    ```   
     
    #### Subchart 4.2
        
    ```{r}
    ```
    
    ## Row 3 {.tabset .tabset-fade}
    
    ### Chart 5
    
    ```{r}
    ```
    
    ### Chart 6
    
    ```{r}
    ```

Which creates the following (Note Figure 4 isn't obeying the tabset):

image

Here, you can see that even though Figure 4 is allowed to consume the entire row (as is the case w/ the h3 around it), the tabset still doesn't work. In trying to figure out the limitations around tabset, is it the case that h4 entities will never work with the tabset?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions