mirror of
				https://github.com/CorentinTh/it-tools.git
				synced 2025-11-03 18:37:00 -05:00 
			
		
		
		
	refactor(style): port display
This commit is contained in:
		
							parent
							
								
									7c540f1208
								
							
						
					
					
						commit
						2632f24cc8
					
				@ -1,8 +1,6 @@
 | 
			
		||||
<template>
 | 
			
		||||
    <n-card>
 | 
			
		||||
        <n-input :value="port" readonly style="text-align: center; font-family: monospace;" />
 | 
			
		||||
        <br>
 | 
			
		||||
        <br>
 | 
			
		||||
        <div class="port">{{ port }}</div>
 | 
			
		||||
        <n-space justify="center">
 | 
			
		||||
            <n-button @click="copy" secondary>Copy</n-button>
 | 
			
		||||
            <n-button @click="refreshPort" secondary>Refresh</n-button>
 | 
			
		||||
@ -27,5 +25,11 @@ refreshPort()
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style lang="scss" scoped>
 | 
			
		||||
<style lang="less" scoped>
 | 
			
		||||
.port {
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    font-size: 26px;
 | 
			
		||||
    font-weight: 400;
 | 
			
		||||
    margin: 10px 0 25px;
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user