-
Notifications
You must be signed in to change notification settings - Fork 255
Open
Description
Please try this demo:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>BigText does not care about div height</title>
<style>
#test {
width: 1000px;
height: 100px;
font-weight: bold;
overflow: hidden;
}
</style>
</head>
<body>
<div id="test">
<div>Text is too big!</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="bigtext.js"></script>
<script>
$('#test').bigtext();;
</script>
</body>
</html>
as you see, the font is way to big, and the text can't be displayed fully in the div.
Would be nice that BigText add an option to consider div height
SirZach, jeffgreco and harvey-cybernova
Metadata
Metadata
Assignees
Labels
No labels