Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/components_page/components/modal/fullscreen.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ modal <- htmlDiv(
dbcModalHeader(dbcModalTitle("Fullscreen modal")),
dbcModalBody("Wow this thing takes up a lot of space...")
),
id = "modal-fs"
id = "modal-fs",
fullscreen=TRUE
)
)
)
Expand Down
1 change: 1 addition & 0 deletions docs/components_page/components/modal/fullscreen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ modal = html_div([
dbc_modalbody("Wow this thing takes up a lot of space..."),
],
id = "modal-fs",
fullscreen=true
),
])

Expand Down
1 change: 1 addition & 0 deletions docs/components_page/components/modal/fullscreen.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
dbc.ModalBody("Wow this thing takes up a lot of space..."),
],
id="modal-fs",
fullscreen=True,
),
]
)
Expand Down
2 changes: 1 addition & 1 deletion docs/markdown_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
""" # noqa

TAB_TEMPLATE = """<li class="nav-item" role="presentation">
<a class="nav-link{2}" id="{0}-tab" data-toggle="tab" href="#{0}" role="tab" aria-controls="{0}" aria-selected="{3}">{1}</a>
<a class="nav-link{2}" id="{0}-tab" data-bs-toggle="tab" data-bs-target="#{0}" role="tab" aria-controls="{0}" aria-selected="{3}">{1}</a>
</li>
""" # noqa

Expand Down
2 changes: 2 additions & 0 deletions src/components/alert/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const Alert = props => {
style,
class_name,
className,
fade,
...otherProps
} = props;

Expand Down Expand Up @@ -52,6 +53,7 @@ const Alert = props => {
onClose={dismissable ? dismiss : null}
variant={isBootstrapColor ? color : null}
className={class_name || className}
transition={fade}
style={!isBootstrapColor ? {backgroundColor: color, ...style} : style}
{...omit(['setProps'], otherProps)}
data-dash-is-loading={
Expand Down
6 changes: 5 additions & 1 deletion src/components/pagination/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,11 @@ const Pagination = props => {
}

// Create the pagination component
return <RBPagination className={class_name || className} {...otherProps}>{paginationItems}</RBPagination>;
return (
<RBPagination className={class_name || className} {...otherProps}>
{paginationItems}
</RBPagination>
);
};

Pagination.defaultProps = {
Expand Down
3 changes: 2 additions & 1 deletion src/components/toast/Toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ const Toast = props => {
Toast.defaultProps = {
is_open: true,
n_dismiss: 0,
n_dismiss_timestamp: -1
n_dismiss_timestamp: -1,
dismissable: false
};

Toast.propTypes = {
Expand Down