From 32d81349949131bd6d970bde4da37ab06b178d59 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 30 Oct 2020 21:34:32 -0600 Subject: [PATCH] Add an icon for the button rather than text --- src/App.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 64900b8..522d080 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,7 +11,14 @@ @close="show_theme_modal = false" />
- +
@@ -24,6 +31,7 @@ import "./js/prototypes.js"; import ThemePicker from './components/modals/ThemeModal'; import LoginCard from './components/LoginView.vue'; import MainView from './components/MainView.vue'; +import Icon from './components/Icon.vue'; export default { name: 'App', @@ -31,6 +39,7 @@ export default { "LoginCard": LoginCard, "MainView": MainView, "Themes": ThemePicker, + "Icon": Icon, }, data() {return { show_theme_modal: false @@ -96,7 +105,10 @@ body { #theme-button { position: absolute; display: block; - bottom: 0; - right: 0; + bottom: 5px; + right: 5px; +} +#theme-button > button { + padding: 5px; } \ No newline at end of file