Unable to give equal spacing between the slid using react-3d-carousel - css

I have created the slider for my project using react-3d-carousel. I have created it but I'm not able to give equal spacing between the slid as you can see in the below image please help me with that.

Related

Ant Design Table VueJS issues

I am right now trying to have a text area input within my ant design table for VUE. However, it seems that the input box has some problems because the height of the input box will make the fixed column does not align with the current box height.
I'm wondering how I can solve this problem. Any help will be greatly appreciated. I've attached my screenshot for problems for reference.
I'm trying to set the z-index for that, but it seems that I don't have the correct parent item to be detached from the text area box.
The original table instruction can be found:https://2x.antdv.com/components/table-cn#components-table-demo-fixed-columns-header

Zoom & crop an image and draw an svg-square on top (in angular)

"A stackblitz is worth a thousand words": https://stackblitz.com/edit/angular-zoom-crop-marker
Basically what I'm trying to do is to have a square drawn above a certain position in an image (<img>), and have that dynamically adjust to the image while being zoomed in / out and cropped. The stackblitz link has 3 views, the basic view which is a plain image, a zoomable view (which I got working as well) and a view where the imaged is "zoomed in and cropped" while being zoomable - This is where I need your help.
Should I crop using object-fit in some way? Is it better if I use a canvas to handle this? I've been at this for a whole day I and I feel my css knowledge is too limited to pull this of.
Bonus question: How would I go about to have the zoom-in zoom-out buttons add/remove one image per row using only css flex-box? (ie: not statically adding x pixles in height and width, but rather increase or decrease the size of each image so that another image is removed or added (per row) while always filling up all the available space)
Thank you in advance!
Managed to solve it myself. stackblitz updated with a working solution.

UIStackView inside a UICollectionViewCell is out of screen

I'm trying to use a UIStackView in my cell, but I'm with some problems with the constraints.
When I put the constraints in my stack, the whole content go to outside the view. Note in my screenshots:
this first one is the UIStackView without any constraint. Note, the content has a margin of 5.
now, I've set the constraint in my UIStackView. Note that margin right of content doesn't exists anymore. And now its a negative margin.
Obs: the distribution is fill proportionally
Anyone knows what Im doing wrong?
Everything works just fine. Make sure you have added constraints to all other elements.
Inside UIView with margins:

video inside custom shaped border css

I'm not exactly sure about the correct term of what I'm trying to do. But basically I am trying to set a video or flash.swf file inside a custom shaped border (the boarder isn't a perfect square) in the header of my website.
I've provided two pictures of what I mean. The first picture is what I want the page to look like when it first loads. The second picture is what it should look like after the video or flash.swf file loads.
Notice how in the second picture there is an image that fits inside what I am calling the boarder area. Again I do not know the proper term. Any help would be greatly appreciated as I don't even know where to begin to start.
Image 1 http://i.stack.imgur.com/xHhB6.jpg
Image 2 http://i.stack.imgur.com/gJ77g.jpg
Set the wmode="opaque" in the embed / object tag. Then you can overlay the flash file with a png that is transparent in the area you want the flash visible.
the png must be positioned absolute that you can position it right via top/left and for the z-index.

How to vertically align multiple tables or graphics in Lyx

What I wanted to do is that I had multiple tables and/or images of different heights and wanted them positioned on the page side by side, so that the tops of the objects were aligned.
I couldn't figure this out, it didn't matter whether I put these 'in-line' or in separate Boxes (Minipages) (that seemed to be aligned the way I wanted in the editor), in output Lyx always seemed to align these objects somehow around the center of their height and not the top.
Finally, (after several hours of googling and trying to figure this out) I have the answer, so I'm posting it below, because I hope someone like me will find it useful in the future.
The way I solved this is relatively easy.
For each image/table I created a Box (Minipage). In each Box I put, on the first line, Vertical Space (Insert -> Formatting -> Vertical Space) and set the size to 0 in. After the Vertical Space I inserted the graphic/table. This way, if you put several boxes next to each other (for example by setting their width to 25% page width, or whatever you desire), they will be aligned by the top in the output.
You can also do Ctrl+Space (to insert a 'protected space') and then Enter, which seems to work the exact same way.
Hope this helps.

Resources