🔙 Add "Back Home" button and improve layout styling in Gamemaster Explorer view
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
<div v-else class="explorer-container">
|
<div v-else class="explorer-container">
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<header class="explorer-header">
|
<header class="explorer-header">
|
||||||
|
<router-link to="/" class="back-button">← Back Home</router-link>
|
||||||
<h1>🔍 Gamemaster Explorer</h1>
|
<h1>🔍 Gamemaster Explorer</h1>
|
||||||
<div class="header-controls">
|
<div class="header-controls">
|
||||||
<button
|
<button
|
||||||
@@ -709,6 +710,8 @@ onMounted(() => {
|
|||||||
background: var(--bg-primary, #ffffff);
|
background: var(--bg-primary, #ffffff);
|
||||||
color: var(--text-primary, #1a1a1a);
|
color: var(--text-primary, #1a1a1a);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
max-width: 1600px;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Loading & Error States */
|
/* Loading & Error States */
|
||||||
@@ -750,11 +753,31 @@ onMounted(() => {
|
|||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
border-bottom: 2px solid #e0e0e0;
|
border-bottom: 2px solid #e0e0e0;
|
||||||
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explorer-header h1 {
|
.explorer-header h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back-button {
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #f5f5f5;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #1a1a1a;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
white-space: nowrap;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back-button:hover {
|
||||||
|
background: #e0e0e0;
|
||||||
|
border-color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-controls {
|
.header-controls {
|
||||||
|
|||||||
Reference in New Issue
Block a user