minimum tag size
This commit is contained in:
		
							parent
							
								
									1e5b2ac6aa
								
							
						
					
					
						commit
						0b0e713aa1
					
				@ -118,7 +118,9 @@ class TagList implements Extension {
 | 
				
			|||||||
			$h_tag = html_escape($row['tag']);
 | 
								$h_tag = html_escape($row['tag']);
 | 
				
			||||||
			$size = $row['scaled'];
 | 
								$size = $row['scaled'];
 | 
				
			||||||
			$link = $this->tag_link($row['tag']);
 | 
								$link = $this->tag_link($row['tag']);
 | 
				
			||||||
			$html .= " <a style='font-size: ${size}em' href='$link'>$h_tag</a> \n";
 | 
								if($size<0.5) $size = 0.5;
 | 
				
			||||||
 | 
								$h_tag_no_underscores = str_replace("_", " ", $h_tag);
 | 
				
			||||||
 | 
								$html .= " <a style='font-size: ${size}em' href='$link'>$h_tag_no_underscores</a> \n";
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		return $html;
 | 
							return $html;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user