Skip to content

Commit

Permalink
Fix misalignment due to padding in the mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb committed Feb 16, 2024
1 parent e60982f commit 5e0fd66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
aria-label="inputmodal"
@close="deactivate"
>
<div class="flex w-full" :class="{ 'px-2': isRecentSearchesModalOpen }">
<div class="flex w-full" :class="{ 'px-3': isRecentSearchesModalOpen }">
<!-- Form action is a fallback for when JavaScript is disabled. -->
<form
action="/search"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/VModal/VInputModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div
ref="dialogRef"
v-bind="$attrs"
class="flex w-full flex-col px-4 py-4"
class="flex w-full flex-col px-3 py-4"
role="dialog"
aria-modal="true"
@keydown="onKeyDown"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
class="flex flex-col rounded-sm bg-white"
:class="bordered ? 'border border-dark-charcoal-20 p-2 shadow-el-2' : 'p-3'"
:class="{ 'border border-dark-charcoal-20 shadow-el-2': bordered }"
data-testid="recent-searches"
>
<div
Expand Down

0 comments on commit 5e0fd66

Please sign in to comment.