Skip to content

Instantly share code, notes, and snippets.

View briznad's full-sized avatar

Brad Mallow briznad

  • London
  • 02:22 (UTC +01:00)
View GitHub Profile
@briznad
briznad / Demo.tsx
Last active July 16, 2025 11:22
Gigs Code Review
import type { Item, UserSettings, MeasurementUpdatePayload } from './types';
import React, { useState } from 'react';
import { IonList, IonListHeader, IonItem, IonLabel } from '@ionic/react';
import MeasurementConverter from './MeasurementConverter';
import '@ionic/react/css/core.css';
@briznad
briznad / grid.scss
Created November 3, 2018 21:28
better sass grid
@function _grid($columns, $total-columns: 12, $breakpoint: small, $external: true) {
$gutter-compensation: null;
$gutter-width: map-get($grid-gutters, $breakpoint);
@if $external {
$gutter-compensation: $gutter-width * 0.5;
} @else {
$gutter-compensation: $gutter-width * -1;
}