mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	make sure the promoted attributes don't take the whole screen in mobile, #4468
This commit is contained in:
		
							parent
							
								
									722299dd26
								
							
						
					
					
						commit
						8742e4bfe9
					
				@ -8,8 +8,14 @@ import options from "../../services/options.js";
 | 
			
		||||
import utils from "../../services/utils.js";
 | 
			
		||||
 | 
			
		||||
const TPL = `
 | 
			
		||||
<div>
 | 
			
		||||
<div class="promoted-attributes-widget">
 | 
			
		||||
    <style>
 | 
			
		||||
    body.mobile .promoted-attributes-widget {
 | 
			
		||||
        /* https://github.com/zadam/trilium/issues/4468 */
 | 
			
		||||
        flex-shrink: 0.4;
 | 
			
		||||
        overflow: auto;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    .promoted-attributes-container {
 | 
			
		||||
        margin: auto;
 | 
			
		||||
        display: flex;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user