Skip to content

Instantly share code, notes, and snippets.

@andybrice
andybrice / MailSpring Avatars Duplicate Bug Element.html
Created July 14, 2022 09:28
HTML of an element displaying the duplicate avatar images bug.
<div data-item-id="t:v34Ff35NtNx3QnF5gHZXWB3yxXX1mX4pLJDS4iHJ"
style="touch-action: pan-x pan-y; position: absolute; top: 0px; width: 100%; height: 85px;">
<div class="swipe-backing" style="top: 0px; bottom: 0px; position: absolute;"></div>
<div style="transform: translate3d(0px, 0px, 0px);">
<div class="list-item list-tabular-item " style="height: 85px;">
<div class="list-column list-column-Item" style="flex: 1 1 0%;">
<div style="display: flex; align-items: flex-start;">
<div class="icons-column">
<div class="thread-icon thread-icon-none thread-icon-star-on-hover" title="Star"></div>
<div class="thread-injected-icons injected-region-visible"
@andybrice
andybrice / custom-bash-prompt
Last active November 26, 2018 22:24
Minimal Colored Arrow Bash Prompt
BRIGHT_COLOR='\e[35m'
NORMAL_COLOR='\e[0m'
export PS1="\n\[$BRIGHT_COLOR\]\W ➤ \[$NORMAL_COLOR\]"
export CLICOLOR=1
@andybrice
andybrice / wikiwidth
Last active August 29, 2015 13:59
Custom CSS to limit Wikipedia articles to a more readable width
// Log into Wikipedia and paste this into your custom CSS.
// This can be found at: Preferences -> Appearance -> Custom CSS
// It will limit articles to a more readable width on larger screens.
#firstHeading, #bodyContent {
max-width: 780px;
margin-left: auto;
margin-right: auto;
position: relative;
}