jakiestfu / jakiestfu/Snap.js

Percentage maxPosition

Open
#69 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
642
PR merge metrics
No merged PRs in 30d

Description

Hi

FIrst off... this is sweet.

Second... Is there any way to set the maxPosition as a percentage? I'm building a responsive site with quite a big font size in the nav that I'd like to scale up and down depending on the browser width... So I need to accomodate wider content in the draw and hence use a percentage as I don't want to end up with a massive draw on mobiles, but I need it nice and wide for desktops...

Any way I can do this?

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named in the issue. Start by locating the maxPosition option and any related tests, then determine how percentage values should be interpreted; done means responsive percentage-based sizing works without breaking existing positioning behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.