diff options
Diffstat (limited to 'src/components/NavLink.vue')
-rw-r--r-- | src/components/NavLink.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/NavLink.vue b/src/components/NavLink.vue index 7ad5088..5dbf609 100644 --- a/src/components/NavLink.vue +++ b/src/components/NavLink.vue @@ -1,6 +1,6 @@ <template> <li class="navlink"> - <a v-if="external" class="link" :href="link">{{name}}</a> + <a v-if="external" class="link" target="_blank" :href="link">{{name}}</a> <router-link v-else class="link" :to="link">{{ name }}</router-link> </li> </template> @@ -27,4 +27,10 @@ export default { padding: 10px; margin: 10px; } + +@media (max-width: 1300px) { + .navlink { + margin: 0; + } +} </style> \ No newline at end of file |