Skip to content

Commit

Permalink
style: button margin adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
  • Loading branch information
pedrolamas committed Feb 27, 2023
1 parent 80ed296 commit 0126c53
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 33 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/AppBtnCollapseGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
text
color=""
v-bind="attrs"
class="ml-1"
class="ms-1 my-1"
v-on="on"
>
<v-icon>{{ menuIcon }}</v-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/bedmesh/BedMeshControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
v-if="isManualProbeActive"
:disabled="!klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="manualProbeDialogOpen = true"
>
{{ $t('app.tool.tooltip.manual_probe') }}
Expand Down
1 change: 1 addition & 0 deletions src/components/widgets/camera/CameraMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<app-btn
v-bind="attrs"
small
class="ms-1 my-1"
v-on="on"
>
<v-icon
Expand Down
6 changes: 3 additions & 3 deletions src/components/widgets/console/ConsoleCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
@click="consoleElement.scrollToLatest(true)"
>
<v-icon>{{ flipLayout ? '$up' : '$down' }}</v-icon>
Expand All @@ -42,7 +42,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
@click="$filters.routeTo($router, '/console')"
>
<v-icon>$fullScreen</v-icon>
Expand All @@ -53,7 +53,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
@click="handleClear"
>
<v-icon>$delete</v-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/endstops/EndStopsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
@click="queryEndstops"
>
<v-icon>$refresh</v-icon>
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/gcode-preview/GcodePreviewCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<app-btn
:disabled="!printerFile || printerFileLoaded"
small
class="ml-1"
class="ms-1 my-1"
@click="loadCurrent"
>
{{ $t('app.gcode.btn.load_current_file') }}
Expand All @@ -23,7 +23,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
@click="$filters.routeTo($router, '/preview')"
>
<v-icon>$fullScreen</v-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/history/JobHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div
style="max-width: 160px;"
class="ml-1"
class="ms-1 my-1"
>
<v-text-field
v-model="search"
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/history/PrintHistoryCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<app-btn-collapse-group :collapsed="menuCollapsed">
<app-btn
small
class="ma-1"
class="ms-1 my-1"
@click="handleLoadAll"
>
<v-icon
Expand All @@ -22,7 +22,7 @@
</app-btn>
<app-btn
small
class="ma-1"
class="ms-1 my-1"
@click="handleRemoveAll"
>
<v-icon
Expand Down
5 changes: 3 additions & 2 deletions src/components/widgets/job-queue/JobQueueCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<app-btn
v-if="['ready','loading','starting'].includes(queueStatus)"
small
class="ma-1"
class="ms-1 my-1"
@click="handlePause"
>
<v-icon
Expand All @@ -25,7 +25,7 @@
<app-btn
v-else-if="queueStatus === 'paused'"
small
class="ma-1"
class="ms-1 my-1"
@click="handleResume"
>
<v-icon
Expand All @@ -44,6 +44,7 @@
fab
x-small
text
class="ms-1 my-1"
@click="$filters.routeTo($router, '/jobs')"
>
<v-icon>$fullScreen</v-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/stats/PrinterStatsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<app-btn-collapse-group :collapsed="menuCollapsed">
<app-btn
small
class="ma-1"
class="ms-1 my-1"
@click="handleResetStats"
>
<v-icon
Expand Down
12 changes: 6 additions & 6 deletions src/components/widgets/status/StatusControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:loading="hasWait($waits.onPrintCancel)"
:disabled="hasWait([$waits.onPrintCancel, $waits.onPrintResume, $waits.onPrintPause])"
small
class="ma-1"
class="ms-1 my-1"
@click="cancelPrint()"
>
<v-icon
Expand All @@ -23,7 +23,7 @@
:loading="hasWait($waits.onPrintPause)"
:disabled="printerPaused || hasWait([$waits.onPrintCancel, $waits.onPrintResume, $waits.onPrintPause])"
small
class="ma-1"
class="ms-1 my-1"
@click="pausePrint()"
>
<v-icon
Expand All @@ -40,7 +40,7 @@
:loading="hasWait($waits.onPrintResume)"
:disabled="printerPrinting || hasWait([$waits.onPrintCancel, $waits.onPrintResume, $waits.onPrintPause])"
small
class="ma-1"
class="ms-1 my-1"
@click="resumePrint()"
>
<v-icon
Expand All @@ -55,7 +55,7 @@
<app-btn
v-if="!printerPrinting && !printerPaused && filename"
small
class="ma-1"
class="ms-1 my-1"
@click="resetFile()"
>
<v-icon
Expand All @@ -70,7 +70,7 @@
<app-btn
v-if="!supportsHistoryComponent && !printerPrinting && !printerPaused && filename"
small
class="ma-1"
class="ms-1 my-1"
@click="$emit('print', filename)"
>
<v-icon
Expand All @@ -95,7 +95,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
v-on="on"
@click="showExcludeObjectDialog = true"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/system/McuCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
fab
x-small
text
class="ml-1"
class="ms-1 my-1"
@click="showMcuConstantsDialog"
>
<v-icon>$viewHeadline</v-icon>
Expand Down
8 changes: 4 additions & 4 deletions src/components/widgets/thermals/TemperatureCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<app-btn
small
:disabled="!klippyReady"
class="ml-1"
class="ms-1 my-1"
@click="chartVisible = !chartVisible"
>
<v-icon left>
Expand All @@ -47,21 +47,21 @@
:label="$t('app.setting.label.show_rate_of_change')"
color="primary"
hide-details
class="mx-2 mt-2 mb-2"
class="mx-2 my-2"
/>
<v-checkbox
v-model="showRelativeHumidity"
:label="$t('app.setting.label.show_relative_humidity')"
color="primary"
hide-details
class="mx-2 mt-2 mb-2"
class="mx-2 my-2"
/>
<v-checkbox
v-model="showBarometricPressure"
:label="$t('app.setting.label.show_barometric_pressure')"
color="primary"
hide-details
class="mx-2 mt-2 mb-2"
class="mx-2 my-2"
/>
</app-btn-collapse-group>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/thermals/TemperaturePresetsMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:disabled="!klippyReady"
v-bind="attrs"
small
class="ml-1"
class="ms-1 my-1"
v-on="on"
>
<v-icon
Expand Down
14 changes: 7 additions & 7 deletions src/components/widgets/toolhead/ToolheadCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
v-if="isManualProbeActive"
:disabled="!klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="manualProbeDialogOpen = true"
>
{{ $t('app.tool.tooltip.manual_probe') }}
Expand All @@ -43,7 +43,7 @@
v-if="printerSupportsForceMove"
:disabled="!klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
:color="forceMove ? 'error' : undefined"
@click="toggleForceMove"
>
Expand All @@ -52,7 +52,7 @@
<app-btn
:disabled="!klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="sendGcode('M84')"
>
{{ $t('app.tool.tooltip.motors_off') }}
Expand All @@ -62,7 +62,7 @@
:loading="hasWait($waits.onBedScrewsAdjust)"
:disabled="!allHomed || !klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="bedScrewsAdjust"
>
{{ $t('app.tool.tooltip.bed_screws_adjust') }}
Expand All @@ -72,7 +72,7 @@
:loading="hasWait($waits.onBedScrewsCalculate)"
:disabled="!allHomed || !klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="sendGcode('SCREWS_TILT_CALCULATE', $waits.onBedScrewsCalculate)"
>
{{ $t('app.tool.tooltip.screws_tilt_calculate') }}
Expand All @@ -82,7 +82,7 @@
:loading="hasWait($waits.onZTilt)"
:disabled="!klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="sendGcode('Z_TILT_ADJUST', $waits.onZTilt)"
>
{{ $t('app.tool.tooltip.z_tilt_adjust') }}
Expand All @@ -92,7 +92,7 @@
:loading="hasWait($waits.onQGL)"
:disabled="!klippyReady || printerPrinting"
small
class="ml-1"
class="ms-1 my-1"
@click="sendGcode('QUAD_GANTRY_LEVEL', $waits.onQGL)"
>
{{ $t('app.tool.tooltip.quad_gantry_level') }}
Expand Down

0 comments on commit 0126c53

Please sign in to comment.