Fix header placeholder size
This commit is contained in:
		
							parent
							
								
									c180e56584
								
							
						
					
					
						commit
						32facdbd72
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		
							
								
								
									
										6
									
								
								base.css
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								base.css
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -77,7 +77,7 @@ header {
 | 
			
		|||
	left: env(titlebar-area-x, 0);
 | 
			
		||||
	top: env(titlebar-area-y, 0);
 | 
			
		||||
	width: env(titlebar-area-width, 100%);
 | 
			
		||||
	height: env(titlebar-area-height, 36px);
 | 
			
		||||
	min-height: env(titlebar-area-height, 36px);
 | 
			
		||||
	-webkit-app-region: drag;
 | 
			
		||||
	app-region: drag;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -88,7 +88,9 @@ header {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
.header-placeholder {
 | 
			
		||||
	margin-top: env(titlebar-area-height, 36px);
 | 
			
		||||
	box-sizing: border-box;
 | 
			
		||||
	height: max(env(titlebar-area-height, 36px), 42px);
 | 
			
		||||
	margin-bottom: 2px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
header.embedded {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								sw.js
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								sw.js
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
const VERSION = 'v30'
 | 
			
		||||
const VERSION = 'v31'
 | 
			
		||||
const API_ORIGIN = 'https://scraper.infotren.dcdev.ro/'
 | 
			
		||||
const API_TRAINS = `${API_ORIGIN}v3/trains`
 | 
			
		||||
const API_STATIONS = `${API_ORIGIN}v3/stations`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue