Remove the interstitial .tag__value__list-item
Just .tag__list-item is enough.
This commit is contained in:
		
							parent
							
								
									e8daeda08b
								
							
						
					
					
						commit
						d81f2a107c
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		|  | @ -37,12 +37,12 @@ | |||
|     padding-inline-start: 0; | ||||
|   } | ||||
| 
 | ||||
|   .tag__value__list-item { | ||||
|   .tag__list-item { | ||||
|     padding-inline-start: 0; | ||||
|     white-space: nowrap; | ||||
|   } | ||||
| 
 | ||||
|   .tag__value__list-item:not(:first-child)::before { | ||||
|   .tag__list-item:not(:first-child)::before { | ||||
|     color: var(--text-color-secondary); | ||||
|     content: ":"; | ||||
|     margin-inline-end: var(--spacing); | ||||
|  |  | |||
|  | @ -16,7 +16,9 @@ | |||
|   <div class="tag"> | ||||
|     <span class="tag__name">{{ $name }}</span> | ||||
|     <ul class="tag__value--list" data-name="{{ $name }}"> | ||||
|       {{ range . }}<li class="tag__value__list-item"><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>{{ end }} | ||||
|       {{ range . -}} | ||||
|         <li class="tag__list-item"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> | ||||
|       {{- end -}} | ||||
|     </ul> | ||||
|   </div> | ||||
| {{ end }} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue