Skip to content

Commit

Permalink
fix: improves padding for mobile (#2616)
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 authored Dec 20, 2023
1 parent 3a21459 commit a8c9237
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/components/LogViewer/ContainerTitle.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-1 items-center gap-2 truncate">
<div class="flex flex-1 items-center gap-1.5 truncate md:gap-2">
<label class="swap swap-rotate">
<input type="checkbox" v-model="pinned" />
<carbon:star-filled class="swap-on text-secondary" />
Expand Down
2 changes: 1 addition & 1 deletion assets/components/LogViewer/LogContainer.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<scrollable-view :scrollable="scrollable" v-if="container">
<template #header v-if="showTitle">
<div class="ml-4 mr-2 flex items-center gap-2">
<div class="mx-2 flex items-center gap-2 md:ml-4">
<container-title @close="$emit('close')" />
<container-stat class="ml-auto" />

Expand Down
2 changes: 1 addition & 1 deletion assets/components/LogViewer/LogViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ watch(
monospace;
> li {
@apply flex break-words px-4 py-1 last:snap-end odd:bg-gray-400/[0.07];
@apply flex break-words px-2 py-1 last:snap-end odd:bg-gray-400/[0.07] md:px-4;
&:last-child {
scroll-margin-block-end: 5rem;
}
Expand Down

0 comments on commit a8c9237

Please sign in to comment.