Skip to content

Instantly share code, notes, and snippets.

View jakemor's full-sized avatar
🦾

Jake Mor jakemor

🦾
View GitHub Profile
@jakemor
jakemor / Retool.css
Last active March 18, 2021 20:50
Remove branding and unnecessary components from Retool on mobile devices. Settings > Advanced > Preload CSS
div, body, html, table {
-webkit-overflow-scrolling: touch;
}
@media only screen and (max-width: 600px) {
.presentation-header-container {
display: none;
}
@jakemor
jakemor / UIView+Gradient.swift
Created February 21, 2018 16:41
Simple gradients for UIViews in Swift
// MARK: - Usage
//
// view.setBackgroundGradient(start: .red, end: .blue, type: .topRightBottomLeft)
//
// MARK: - UIView+Gradient
extension UIView {
typealias GradientPoint = (x: CGPoint, y: CGPoint)