Преглед на файлове

chore(sfc-playground): fix header z-index issue (#14479)

close #14478
David King преди 1 месец
родител
ревизия
ea245764f4
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 0 1
      packages-private/sfc-playground/src/Header.vue
  2. 1 0
      packages-private/sfc-playground/src/VersionSelect.vue

+ 0 - 1
packages-private/sfc-playground/src/Header.vue

@@ -170,7 +170,6 @@ nav {
   background-color: var(--bg);
   box-shadow: 0 0 4px rgba(0, 0, 0, 0.33);
   position: relative;
-  z-index: 999;
   display: flex;
   justify-content: space-between;
 }

+ 1 - 0
packages-private/sfc-playground/src/VersionSelect.vue

@@ -106,6 +106,7 @@ onMounted(() => {
 
 <style>
 .version {
+  z-index: 1;
   margin-right: 12px;
   position: relative;
 }