Browse Source

more obvious element classes for embedded links

Andrew Dolgov 3 months ago
parent
commit
8d3f0070d9
3 changed files with 4 additions and 4 deletions
  1. 1 1
      css/default.css
  2. 1 1
      css/default.less
  3. 2 2
      js/tt-irc.js

File diff suppressed because it is too large
+ 1 - 1
css/default.css


+ 1 - 1
css/default.less

@@ -502,7 +502,7 @@ body.main.active #tabs-list li.selected span.unread {
 			height : 110px;
 			overflow : hidden;
 
-			a.orig-link {
+			.excerpt {
 				font-size : 12px;
 				color : #999;
 				text-decoration: none;

+ 2 - 2
js/tt-irc.js

@@ -250,11 +250,11 @@ const Message = function(data, chan) {
 						.append(thumb)
 
 					const main_link = $("<a>")
-						.attr("class", "main-link")
+						.attr("class", "title")
 						.html(truncate_string(json.title, 150))
 
 					const og_link = $("<a>")
-						.attr("class", "orig-link")
+						.attr("class", "excerpt")
 						.html(truncate_string(json.descr ?
 							truncate_string(json.descr, 200) : link.attr("href"), 250))