Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit

Permalink
chore: improving styling for mobile (responsive) & title change (#46)
Browse files Browse the repository at this point in the history
* chore: improving styling for mobile (responsive)

* chore: title change

* docs: update type of change list
  • Loading branch information
adydetra authored Dec 28, 2023
1 parent b41285a commit 847d544
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Please carefully read the contribution docs before creating a pull request

<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->

- [ ] 🧹 Updates to the build process or auxiliary tools and libraries
- [ ] 📖 Documentation (updates to the documentation or readme)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [ ] 👌 Enhancement (improving an existing functionality like performance)
- [ ] 🚀 Enhancement (improving an existing functionality like performance)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<title>Vue Toastify</title>
<script>
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.documentElement.dataset.theme = 'halloween';
Expand Down
6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>
</div>
<div class="w-full sm:w-1/2 xl:w-1/4 sm:max-w-50 sm:ml-2">
<div class="w-1/2 mx-auto lg:w-2/3 xl:w-1/2 mb-12 space-y-1">
<div class="w-1/2 md:mx-auto lg:w-2/3 xl:w-1/2 mt-12 md:mt-0 mb-12 space-y-1">
<AppToggle v-model="status.pauseOnHover"
:disabled="!status.canTimeout"
label="Can be Paused"
Expand Down Expand Up @@ -119,7 +119,7 @@
@click="loadStop">
Call .stopLoader()
</button>
<button class="btn btn-primary" @click="addToast">
<button class="btn btn-primary my-4 md:my-0" @click="addToast">
Toastify!
</button>
</div>
Expand Down Expand Up @@ -153,7 +153,7 @@ import AppSelect from './app-components/AppSelect.vue';
import AppTextarea from './app-components/AppTextarea.vue';
import AppStatusDisplay from './app-components/AppStatusDisplay.vue';
import { isObject } from './utils';
import AppThemeToggle from "./app-components/AppThemeToggle.vue";
import AppThemeToggle from './app-components/AppThemeToggle.vue';
export default defineComponent({
name: 'App',
Expand Down

0 comments on commit 847d544

Please sign in to comment.