Skip to content

Commit

Permalink
fix: responsive button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Oct 31, 2023
1 parent 3e9afdf commit 0ce03ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions public/css/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,16 @@ select {
padding-right: 1rem;
}

.md\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}

.md\:py-3 {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}

.md\:pl-10 {
padding-left: 2.5rem;
}
Expand All @@ -1854,6 +1864,11 @@ select {
.md\:pl-4 {
padding-left: 1rem;
}

.md\:text-base {
font-size: 1rem;
line-height: 1.5rem;
}
}

@media (min-width: 1024px) {
Expand Down
2 changes: 1 addition & 1 deletion views/apps/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2 class="font-bold text-2xl font-headline dark:text-white">Connected apps</h2>

<a
class="inline-flex bg-purple-700 cursor-pointer dark:text-neutral-200 duration-150 focus-visible:ring-2 focus-visible:ring-offset-2 focus:outline-none font-medium items-center justify-center px-6 py-3 rounded-lg shadow text-white transition {{if not .User}}opacity-50{{else}}hover:bg-purple-900{{end}}"
class="inline-flex bg-purple-700 cursor-pointer dark:text-neutral-200 duration-150 focus-visible:ring-2 focus-visible:ring-offset-2 focus:outline-none font-medium items-center justify-center px-3 md:px-6 py-2 md:py-3 rounded-lg shadow text-white transition {{if not .User}}opacity-50{{else}}hover:bg-purple-900{{end}} text-sm md:text-base"
href="{{if not .User}}javascript:void(0);{{else}}/apps/new{{end}}"
>
<img
Expand Down

0 comments on commit 0ce03ce

Please sign in to comment.