mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	upd: don't ignore new lines on file info
This commit is contained in:
		
							parent
							
								
									67257ee5c6
								
							
						
					
					
						commit
						bde6bb0bd2
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
				</MkKeyValue>
 | 
									</MkKeyValue>
 | 
				
			||||||
			</button>
 | 
								</button>
 | 
				
			||||||
			<button class="_button" :class="$style.kvEditBtn" @click="describe()">
 | 
								<button class="_button" :class="$style.kvEditBtn" @click="describe()">
 | 
				
			||||||
				<MkKeyValue>
 | 
									<MkKeyValue :class="$style.multiline">
 | 
				
			||||||
					<template #key>{{ i18n.ts.description }}</template>
 | 
										<template #key>{{ i18n.ts.description }}</template>
 | 
				
			||||||
					<template #value>{{ file.comment ? file.comment : `(${i18n.ts.none})` }}<i class="ti ti-pencil" :class="$style.kvEditIcon"></i></template>
 | 
										<template #value>{{ file.comment ? file.comment : `(${i18n.ts.none})` }}<i class="ti ti-pencil" :class="$style.kvEditIcon"></i></template>
 | 
				
			||||||
				</MkKeyValue>
 | 
									</MkKeyValue>
 | 
				
			||||||
| 
						 | 
					@ -313,6 +313,10 @@ onMounted(async () => {
 | 
				
			||||||
	padding: .5rem 1rem;
 | 
						padding: .5rem 1rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.multiline {
 | 
				
			||||||
 | 
						white-space: pre-wrap;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.kvEditBtn {
 | 
					.kvEditBtn {
 | 
				
			||||||
	text-align: start;
 | 
						text-align: start;
 | 
				
			||||||
	display: block;
 | 
						display: block;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue