Increase RESIZER_BOX_FACTOR to account for overlap from handle
Fixes https://github.com/vector-im/riot-web/issues/14136 The resizer handle wasn't being considered in this. 78% is both verified through mathematics and playing with it manually.pull/21833/head
							parent
							
								
									7674030c6e
								
							
						
					
					
						commit
						8cfbfd4221
					
				| 
						 | 
				
			
			@ -18,9 +18,9 @@ import { TagID } from "./models";
 | 
			
		|||
 | 
			
		||||
const TILE_HEIGHT_PX = 44;
 | 
			
		||||
 | 
			
		||||
// the .65 comes from the CSS where the show more button is
 | 
			
		||||
// mathematically 65% of a tile when floating.
 | 
			
		||||
const RESIZER_BOX_FACTOR = 0.65;
 | 
			
		||||
// this comes from the CSS where the show more button is
 | 
			
		||||
// mathematically this percent of a tile when floating.
 | 
			
		||||
const RESIZER_BOX_FACTOR = 0.78;
 | 
			
		||||
 | 
			
		||||
interface ISerializedListLayout {
 | 
			
		||||
    numTiles: number;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue