Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

v0.8.10: arrange rows balance — equal-width buttons, never wrapping

nyblnetfc0ecfd455a3
diff --git a/slides/package.json b/slides/package.json
index c8ce7b61..9aae1d1f 100644
--- a/slides/package.json
+++ b/slides/package.json
@@ -1,7 +1,7 @@
{
"name": "bento-slides",
"private": true,
- "version": "0.8.9",
+ "version": "0.8.10",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/slides/src/styles.css b/slides/src/styles.css
index 4f534604..38c04af7 100644
--- a/slides/src/styles.css
+++ b/slides/src/styles.css
@@ -597,7 +597,14 @@ html, body {
align-items: center;
gap: 3px;
margin: 3px 0;
- flex-wrap: wrap; /* narrow panel: buttons flow to a second line, never overflow */
+}
+/* buttons share the remaining line equally — balanced at any panel width,
+ never wrapping into orphans */
+.ed-arrange-row .ed-btn {
+ flex: 1 1 0;
+ min-width: 0;
+ padding: 5px 0;
+ justify-content: center;
}
.ed-arrange-cap {
flex: none;