All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
| const setFrameHeight = (frameElement, index) => { | |
| frameElement.style.height = 'unset'; | |
| const iframeElement = document.querySelectorAll('iframe')[index]; | |
| const targetHeight = `${ iframeElement.contentWindow.document.body.scrollHeight }px`; | |
| iframeElement.style.height = targetHeight; | |
| } | |
| document.querySelectorAll('.frame').forEach((frameElement, index) => setFrameHeight(frameElement, index)); |
| info: | |
| title: test | |
| version: 1.0.0 | |
| consumes: | |
| - application/json | |
| produces: | |
| - application/json | |
| swagger: '2.0' | |
| securityDefinitions: | |
| keystone: |
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
| // TODO: update this path to your repo on GitHub | |
| const repo = "https://github.com/your-path/goes-here/new/master/posts"; | |
| const getToday = () => { | |
| const today = new Date(); | |
| let dd = today.getDate(); | |
| let mm = today.getMonth() + 1; | |
| const yyyy = today.getFullYear(); | |
| if (dd < 10) dd = `0${dd}`; |
| { | |
| "_version": "1.27.2", | |
| "_source": "https://gist.github.com/curtisj44/e72d8e1dfd950b69fc30eb5b31501795/edit", | |
| "_colors": { | |
| "black-background": "#2b2b2b", | |
| "blue-light": "#87CEEB", | |
| "blue-dark": "#2B91AF", | |
| "gray-light (default text)": "#C0C0C0", | |
| "grey-medium": "#808080", |
| // Maps in Sass | |
| // ------------ | |
| // How it should be using `.scss` syntax | |
| $mdc-typography-styles-button: ( | |
| font-size: 16px, | |
| text-transform: none, | |
| ); | |
| // Exports | |
| // ------- | |
| // Verifies the current user has assignments | |
| // | |
| // Args: | |
| // 1. `$$currentUser` - Immutable current_user object | |
| // | |
| // Example usage: | |
| // `hasAssignments($$currentUser);` |
| * { | |
| /* System sans-serif */ | |
| /* ----------------- */ | |
| /* github.com - 20200211 */ | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' | |
| /* tj.ie - 20200211 */ | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sansserif |
| /* v1.0.3 */ | |
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain("atlassian.net") { | |
| /* Backlog Ticket Preview */ | |
| #ghx-detail-view { | |
| width: 0 !important; | |
| } |