diff --git a/src/assets/icons/share.svg b/src/assets/icons/share.svg new file mode 100644 index 0000000..9d2b12d --- /dev/null +++ b/src/assets/icons/share.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/components/FluxNote.vue b/src/components/FluxNote.vue index 9cce8d9..a6276a2 100644 --- a/src/components/FluxNote.vue +++ b/src/components/FluxNote.vue @@ -1,7 +1,7 @@ @@ -27,6 +37,8 @@ import { useImages } from '@/hooks/useImages.hook' export default defineComponent({ name: 'StackedNote', props: { + user: { type: String, required: true }, + repo: { type: String, required: true }, index: { type: Number, required: true }, title: { type: String, required: true }, sha: { type: String, required: true } @@ -99,6 +111,13 @@ $border-color: rgba(18, 19, 58, 0.2); } } +.share { + float: right; + img { + vertical-align: bottom; + } +} + @media screen and (max-width: 768px) { .stacked-note { padding: 0 1.5rem; diff --git a/src/styles/app.scss b/src/styles/app.scss index 02000f3..b3c315c 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -35,10 +35,18 @@ body { font-size: 1.2em; } -@media screen and (min-width: 769px) { +// @media screen and (min-width: 769px) { +// html, +// body { +// overflow-y: hidden; +// } +// } + +@media print, screen { html, body { - overflow-y: hidden; + overflow-y: auto; + height: auto; } }