Skip to content

Commit

Permalink
fix: handle block width for min-width = 2
Browse files Browse the repository at this point in the history
(cherry picked from commit 1276a91)
  • Loading branch information
shariquerik authored and mergify[bot] committed May 18, 2023
1 parent 3583490 commit e467254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/views/workspace/blocks/block.js
Expand Up @@ -323,7 +323,7 @@ export default class Block {
node.classList.add("col-xs-12");
node.classList.add("col-sm-6");
col = "col-md-" + width;
} else if (width == 3) {
} else if (width == 3 || width == 2) {
node.classList.add("col-xs-12");
node.classList.add("col-sm-6");
node.classList.add("col-md-4");
Expand Down

0 comments on commit e467254

Please sign in to comment.