mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
make show more button a bit less tall
This commit is contained in:
parent
d5a3071518
commit
725b7f8950
2 changed files with 1 additions and 5 deletions
|
@ -241,11 +241,7 @@ limitations under the License.
|
||||||
|
|
||||||
// Update the render() function for RoomSublist2 if these change
|
// Update the render() function for RoomSublist2 if these change
|
||||||
// Update the ListLayout class for minVisibleTiles if these change.
|
// Update the ListLayout class for minVisibleTiles if these change.
|
||||||
//
|
|
||||||
// At 24px high, 8px padding on the top and 4px padding on the bottom this equates to 0.73 of
|
|
||||||
// a tile due to how the padding calculations work.
|
|
||||||
height: 24px;
|
height: 24px;
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
|
|
||||||
// We create a flexbox to cheat at alignment
|
// We create a flexbox to cheat at alignment
|
||||||
|
|
|
@ -59,7 +59,7 @@ import RoomListLayoutStore from "../../../stores/room-list/RoomListLayoutStore";
|
||||||
* warning disappears. *
|
* warning disappears. *
|
||||||
*******************************************************************/
|
*******************************************************************/
|
||||||
|
|
||||||
const SHOW_N_BUTTON_HEIGHT = 32; // As defined by CSS
|
const SHOW_N_BUTTON_HEIGHT = 28; // As defined by CSS
|
||||||
const RESIZE_HANDLE_HEIGHT = 4; // As defined by CSS
|
const RESIZE_HANDLE_HEIGHT = 4; // As defined by CSS
|
||||||
export const HEADER_HEIGHT = 32; // As defined by CSS
|
export const HEADER_HEIGHT = 32; // As defined by CSS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue