What & Why
i am currently using this following CSS snippet to scale/zoom down the entirety of the Kanban board on my mobile phone, so more things can fit into the screen at once and the board can become more usable as i can see more cards& lists without having to pan back and forth constantly - which was really painful
.kanban-plugin {
transform: scale(0.5);
transform-origin: top left;
width: 200%;
height: 200%;
overflow: auto;
}
What I Have Achieved So Far
how it looks like statically on my phone now:
as an example, this is a motorcycle modification project that i am doing,
looks really neat, i can see much more at once than the default scaling level, and it is much easier to drag and drop cards without accidentally panning the screen and it goes so fast it instantly goes to the other side of the board
Problem & Question
Problem ID
how it looks like when i drag a card:
how it looks like when i drag a card (without annotation for better clarity):
Question
my question is: can someone enlighten me what is the correct CSS code to downscale the drag and drop container in Kanban Board view on mobile?
when i go into the inspection tool, i see that there is a div class named kanban-plugin_drag-container
, as shown below:
it seems like that the class for the d&d container is dynamically generated, if the is the case, how can i target it in my CSS snippet?
i have tried several ways, it doesn’t register
what im looking for is a consistent downscale of the d&d container to the overall board view, so that it is a proportionate downscale of everything overall
Kanban is a really neat and cleaver plugin that leverages the markdown syntax, thanks to @mgmeyers.
just have to make some tweaks here and there to make it fit perfectly into my system and workflow. with the help of people from this repo’s issue section, so far i have implemented these using CSS codes:
- coloured lists
- grid view
- downscale (on mobile only)
what is your fav tweaks?
any input is appreciated
originally posted on GitHub as an Issue in mgmeyers/obsidian-kanban