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

apply new style to joystick in joystick.vue

PythonPan преди 9 месеца
родител
ревизия
1e6086b5db
променени са 1 файла, в които са добавени 3 реда и са изтрити 4 реда
  1. 3 4
      nicegui/elements/joystick.vue

+ 3 - 4
nicegui/elements/joystick.vue

@@ -1,5 +1,5 @@
 <template>
-  <div><div></div></div>
+  <div class="nicegui-joystick"><div></div></div>
 </template>
 
 <script>
@@ -23,9 +23,8 @@ export default {
 
 <style scoped>
 :scope > div {
-  background-color: AliceBlue;
-  width: 10em;
-  height: 10em;
+  width: 100%;
+  height: 100%;
   position: relative;
 }
 </style>