This code removes the horizontal scroll from the advanced description toolbar.

changelog

Live Example

[own_shortcode1]

CSS

/* Adjusts the TinyMCE toolbar to be adaptive */
.mce-container.mce-flow-layout-item > div {
display: flex !important;
flex-wrap: wrap !important; /* Allows them to fit on multiple lines */
overflow: visible !important; /* Removes horizontal scroll */
padding-bottom: 10px !important;
-ms-overflow-style: auto;
scrollbar-width: auto;
}

/* Optional: adjust the width of the buttons if you want them to be more compact on mobile */
@media (max-width: 600px) {
.mce-container.mce-flow-layout-item > div button,
.mce-container.mce-flow-layout-item > div .mce-btn {
flex: 0 0 auto;
min-width: 40px;
}
}

Responsive voxel description container toolbar

The Mission

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

There are no results matching your search

AI Assistant