Skip to content
Browse files

adding overflow fixes

  • Loading branch information...
1 parent 8f4ae74 commit 6534456d7c331a07043773e72d12cefd43f1a907 @addyosmani committed May 1, 2011
Showing with 24 additions and 2 deletions.
  1. +20 −1 css/application.css
  2. +4 −1 index.html
View
21 css/application.css
@@ -92,6 +92,7 @@ h1 {
background: url(../images/destroy.png) no-repeat center center;
}
+
#urls .item:hover .destroy {
display: block;
}
@@ -111,6 +112,12 @@ h1 {
display: block;
}
+#urls .item .iconPanel{
+ background-color:#fff;
+ width:200px;
+ height:80px;
+}
+
#urls .item .stats {
display: none;
}
@@ -123,11 +130,23 @@ h1 {
}
.longUrl{
- font-size:13px;
+ font-size: 13px;
+ text-align: center;
+ display:block;
+ word-wrap: break-word
}
.footer{
text-align:center;
margin:0 auto;
width:600px;
+}
+
+#urls .item .short{
+ display: block;
+ max-height: 60px;
+ min-height: 23px;
+ overflow: hidden;
+ width: 420px;
+ word-wrap: break-word
}
View
5 index.html
@@ -33,9 +33,12 @@
Generating...
{{/if}}
</span>
-
+
+ <span class="iconPanel">
<a class="toggleStats"></a>
<a class="destroy"></a>
+ </span>
+
</div>
</div>
</script>

0 comments on commit 6534456

Please sign in to comment.
Something went wrong with that request. Please try again.