Skip to content

Instantly share code, notes, and snippets.

View thomasmery's full-sized avatar

Thomas Mery thomasmery

  • Aaltomeri
  • Paris
View GitHub Profile
@thomasmery
thomasmery / dabblet.css
Created February 10, 2016 17:51
Untitled
.outer {
position: relative;
background: red;
height: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
overflow: hidden;
.container {
height: 200px;
background: yellow;
display: flex;
flex-direction: column;
align-items: stretch;
}
.scroll {
@thomasmery
thomasmery / custom_row_renderer.jsx
Last active June 14, 2021 14:36
Adding props to a React Virtualized custom row renderer
/**
* External dependencies
*/
import React, { PureComponent, PropTypes } from 'react';
import { AutoSizer, Table } from 'react-virtualized';
/**
* Internal dependencies
**/
import getDefaultColumns from './columns'; // some columns for RV Table
@thomasmery
thomasmery / machine.js
Last active July 8, 2020 06:31
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@thomasmery
thomasmery / dabblet.css
Created September 23, 2022 10:53
Untitled
#root {
position: relative;
height: 200px;
background: blue;
}
#root::before {
content: "";
position: absolute;
left: 20px;