Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

feat: implement smaller FTPO arrow #125

Merged
merged 1 commit into from
Sep 3, 2019
Merged

feat: implement smaller FTPO arrow #125

merged 1 commit into from
Sep 3, 2019

Conversation

scurker
Copy link
Member

@scurker scurker commented Aug 30, 2019

Uses an svg (as a data-uri) as the arrow pointer instead of using a a rotated box as there was a lot of magic css involved to create that. This is a breaking change, and there will need to be some downstream updates in cauldron-react to implement the changes here.

deque pattern library first time point out example

fixes #122
fixes #117
closes #124

@CLAassistant
Copy link

CLAassistant commented Aug 30, 2019

CLA assistant check
All committers have signed the CLA.

left: 6px;
width: 89px;
height: 38px;
@arrowPointer: %('data:image/svg+xml;charset=utf-8,%s', escape(%('<svg xmlns="http://www.w3.org/2000/svg" width="33" height="22"><path d="M 13,2 C 15,0 16,0 18,2 L 28,13 C 30,15 30,17 28,17 L 22.5,17 L 3,17 C 1,17 1,15 3,13 Z" fill="%s" stroke="%s" stroke-linejoin="round" transform="translate(0 3)" stroke-width="3"></path></svg>', @tile-bg, @focus-glow)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, LESS is weird. This looks nothing like CSS 🤷‍♂

Copy link
Member

@stephenmathieson stephenmathieson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any glaring issues, but I don't have much context here (nor do I understand LESS). Please wait for someone more familiar with this code before merging.

Copy link
Member

@schne324 schne324 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@scurker scurker merged commit 4e47be8 into master Sep 3, 2019
@scurker scurker deleted the smaller-ftpo-arrow branch September 3, 2019 14:17
schne324 pushed a commit that referenced this pull request Sep 3, 2019
BREAKING CHANGE: footprint of arrow has been changed to be smaller.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smaller FTPO arrow FTPO "left-middle" and "right-middle" arrows are misaligned ftpo arrow isn't flush
4 participants