mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	add position: sticky to monitor details
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
<template>
 | 
			
		||||
    <transition name="slide-fade" appear>
 | 
			
		||||
        <div v-if="monitor">
 | 
			
		||||
        <div v-if="monitor" class="monitor">
 | 
			
		||||
            <h1> {{ monitor.name }}</h1>
 | 
			
		||||
            <p class="url">
 | 
			
		||||
                <a v-if="monitor.type === 'http' || monitor.type === 'keyword' " :href="monitor.url" target="_blank">{{ monitor.url }}</a>
 | 
			
		||||
@@ -418,4 +418,9 @@ table {
 | 
			
		||||
        color: $dark-font-color;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
.monitor {
 | 
			
		||||
    position: sticky;
 | 
			
		||||
    top: 7px;
 | 
			
		||||
    margin: 0 0 24px;
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user