Skip to content
Closed
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
18 changes: 16 additions & 2 deletions src/static/skins/colibris/src/components/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
}

.toolbar ul {
display: flex;
align-items: center;
flex-wrap: wrap; /* Fixes layout crunching by allowing items to scale elegantly */
}

.toolbar ul.menu_left {
Expand Down Expand Up @@ -131,8 +133,20 @@
}
}

.mobile-layout .toolbar ul {
overflow-x: auto; /* Enables native horizontal swipe gesture for extra buttons */
flex-wrap: nowrap; /* Keeps the editor interface clean on extra-small viewports */
scrollbar-width: none; /* Hides bulky native scroll tracks on Firefox */
-webkit-overflow-scrolling: touch; /* Ensures smooth acceleration physics on iOS safari */
}

.mobile-layout .toolbar ul::-webkit-scrollbar {
display: none; /* Hides bulky scrollbars on Chrome/Safari layouts */
}

.mobile-layout .toolbar ul li {
margin: 5px 2px;
margin: 5px 4px; /* Increases tap targets for thumb-friendly mobile scaling */
flex-shrink: 0; /* Prevents the icons from collapsing into weird widths */
}
.mobile-layout .toolbar ul li.separator {
margin: 0 5px;
Expand All @@ -151,4 +165,4 @@
}
.mobile-layout .toolbar ul li a:hover {
/* background-color: transparent; */
}
}