فهرست منبع

fix(ux): fixed ux issue in new cards data source list, now handles overflowing urls and titles, fixes #4403

Torkel Ödegaard 9 سال پیش
والد
کامیت
73e5c70d80
1فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  1. 9 1
      public/sass/components/_cards.scss

+ 9 - 1
public/sass/components/_cards.scss

@@ -63,14 +63,16 @@
     margin-left: 6px;
     font-size: 11px;
     padding: 2px 6px;
-  }  
+  }
 }
 
 .card-item-body {
   display: flex;
+  overflow: hidden;
 }
 
 .card-item-details {
+  overflow: hidden;
 }
 
 .card-item-header {
@@ -83,10 +85,16 @@
 
 .card-item-name {
   color: $headings-color;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  width: 100%;
 }
 
 .card-item-sub-name {
   color: $text-color-weak;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  width: 100%;
 }
 
 .card-list-layout-grid {