uikit / uikit

A lightweight and modular front-end framework for developing fast and powerful web interfaces

Home Page:http://getuikit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too generic to set SVG's height in Uikit

vkcorp opened this issue · comments

UIkit Version

3.16.22 and 3.18.0

Actual Behavior

Rectangle (Joint.js) is cutted by drawing with Joint.js.

Expected Behavior

Rectangle should be shown full.

Reproduction Link

jointjs1.zip

Steps to Reproduce the Problem

  1. Loading my sample code
  2. Check a rectangle on it.

Actually I'm trying to use using uikit@3.16.22 with jointjs@3.7.7, and found an error in my sample code.
I tried to draw a rect in my paper, but the bottom of my Rect was cut.
The reason is Uikit svg setting in CSS was too generic and joint.js's rect was affected.
(Tested it with latest 3.18.0 but my result was the same)

I also reported this issue to Joint.js and answered as :

clientIO/joint#2510

Could you use your Uikit's own svg ? and wouldn't affect to others !