outpostHQ/numl

Need support for overflow based style wrt to X and Y axis

Closed this issue ยท 1 comments

๐Ÿš€ Feature request

Support for X and Y-axis in the overflow styles

๐Ÿงฑ Problem Statement / Justification

Currently, NUML doesn't seem to have any support for overflow on the X and Y axis only, so we need to add its support in https://github.com/numldesign/numl/blob/main/src/styles/overflow.js

โœ… Proposed solution or API

Please provide code snippets, gists, or links to the ideal design or API

<nu-block overflow="x-axis">
This is where my componnet exist
</nu-block>
<nu-block overflow="y-axis">
This is where my componnet exist
</nu-block>

โ†ฉ๏ธ Alternatives

What alternative solutions have you considered before making this request?

๐Ÿ“ Additional Information

What resources (links, screenshots, etc.) do you have to assist this effort?

It has. Like in the original overflow CSS property:
"The overflow property is specified as one or two keywords chosen from the list of values below. If two keywords are specified, the first applies to overflow-x and the second to overflow-y. Otherwise, both overflow-x and overflow-y are set to the same value."