Browse Source

Fix tag overflow, fixes #347

Jordi Boggiano 11 năm trước cách đây
mục cha
commit
4733a94d54
1 tập tin đã thay đổi với 5 bổ sung3 xóa
  1. 5 3
      src/Packagist/WebBundle/Resources/public/css/main.css

+ 5 - 3
src/Packagist/WebBundle/Resources/public/css/main.css

@@ -469,7 +469,8 @@ form ul {
   border-radius: 3px;
 }
 .package .tags {
-  line-height: 34px;
+  overflow: hidden;
+  white-space: nowrap;
 }
 .package .tags a {
   background: #c67700;
@@ -477,8 +478,9 @@ form ul {
   -moz-border-radius: 3px;
   border-radius: 3px;
   color: #fff;
-  padding: 3px;
-  margin-right: 5px;
+  display: inline-block;
+  padding: 1px 3px;
+  margin: 4px 5px 0 0;
 }
 .package .description {
   clear: left;