Closed SarjuHansaliya closed 6 months ago
Hi, yes this could be helpful š
In my opinion the segmentedControl cannot be used anymore since there is no enough space for five items. Instead, we should use the Select control.
Anyway, some info for the pr since navigating into the codebase could be painful:
Hereās the configuration file with the padding settings configuration.ts
Iād recommend you to refactor the current number[] array to a key-value object with label
and value
property, just like the āeditorRadiusā config.
The editor ui for padding is here: FrameStyleForm
You can copy a select implementation from this:
Note: currently the radius between the frame and the editor could be different, then the editor frame border radius must be 0 when frame padding = 0
I think you can update here the āstyles.terminalVars.radiusā css variable
awesome @riccardoperra thank you for the information, let me work on it.
Thanks for your collaboration š use the contributions.md to startup the project but if you need something, just ask.
if you donāt want to run docker etc because you donāt need the backend for this change, I think you will have to run the build command manually for each package in āpackagesā folder, except āapi-typesā (which requires you to have a backend with Postgres up)
@riccardoperra I have created PR here https://github.com/riccardoperra/codeimage/pull/625
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Released with 1.6.0. Thanks for your contribution :)
Awesome @riccardoperra Thanks for publishing those changes
Which @codeimage/* package(s) are relevant/releated to the feature request?
ui
Description
Currently padding options are
16
,32
,64
,128
.It would be great if it allow
0
option also.If you think this is helpful, I can work on creating PR.