fix: input layout on small devices (#448)

* fix: fix input layout on small devices

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: use col-sm class instead of sm property

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus authored and GitHub committed 2021-12-04 23:48:54 +01:00
1 parent b6527b471a
commit 9f506f8cbf
2 files changed
+8 -8

No files matched your search

@@ -1,7 +1,7 @@
<template>
<v-card-text>
<v-row>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractLength')"
:target="current_retract_length"
@@ -11,7 +11,7 @@
attribute-name="RETRACT_LENGTH"
></firmware-retraction-settings-input>
</v-col>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractSpeed')"
:target="current_retract_speed"
@@ -22,7 +22,7 @@
</v-col>
</v-row>
<v-row>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractExtraLength')"
:target="current_unretract_extra_length"
@@ -32,7 +32,7 @@
attribute-name="UNRETRACT_EXTRA_LENGTH"
></firmware-retraction-settings-input>
</v-col>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractSpeed')"
:target="current_unretract_speed"
@@ -1,7 +1,7 @@
<template>
<v-card-text>
<v-row>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Velocity')"
:target="current_velocity"
@@ -11,7 +11,7 @@
attribute-name="VELOCITY"
></motion-settings-input>
</v-col>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.SquareCornerVelocity')"
:target="current_square_corner_velocity"
@@ -23,7 +23,7 @@
</v-col>
</v-row>
<v-row>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Acceleration')"
:target="current_accel"
@@ -33,7 +33,7 @@
attribute-name="ACCEL"
></motion-settings-input>
</v-col>
<v-col class="col-6">
<v-col class="col-12 col-sm-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Deceleration')"
:target="current_accel_to_decel"