mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	show two lines of text for feed entries
This commit is contained in:
		
							parent
							
								
									d2cf675569
								
							
						
					
					
						commit
						779b5ef257
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
			
		|||
			<MkTime :time="note.createdAt" :class="$style.headerTime" colored/>
 | 
			
		||||
		</header>
 | 
			
		||||
		<div>
 | 
			
		||||
			<Mfm :class="$style.text" :text="getNoteSummary(note)" :isBlock="false" :plain="true" :nowrap="true" :isNote="true" :author="note.user"/>
 | 
			
		||||
			<Mfm :class="$style.text" :text="getNoteSummary(note)" :isBlock="false" :plain="true" :nowrap="false" :isNote="true" :author="note.user"/>
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
| 
						 | 
				
			
			@ -49,8 +49,7 @@ defineEmits<{
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
.head {
 | 
			
		||||
	position: sticky;
 | 
			
		||||
	top: 0;
 | 
			
		||||
	align-self: center;
 | 
			
		||||
	flex-shrink: 0;
 | 
			
		||||
	width: 42px;
 | 
			
		||||
	height: 42px;
 | 
			
		||||
| 
						 | 
				
			
			@ -92,6 +91,8 @@ defineEmits<{
 | 
			
		|||
	display: flex;
 | 
			
		||||
	width: 100%;
 | 
			
		||||
	overflow: clip;
 | 
			
		||||
	line-height: 1.25em;
 | 
			
		||||
	height: 2.5em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@container (max-width: 600px) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue