Skip to content

Commit

Permalink
Bring back text-sm where previously removed
Browse files Browse the repository at this point in the history
  • Loading branch information
aerosol committed Oct 2, 2024
1 parent a192c0d commit ab5e1fc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions lib/plausible_web/components/billing/billing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ defmodule PlausibleWeb.Components.Billing do
</span>
<div class={"flex items-center justify-between md:flex-col md:items-start py-2 pr-2 #{if @with_separator, do: "pl-2 md:pl-4", else: "pl-2"}"}>
<span
class="dark:text-gray-100"
class="text-sm dark:text-gray-100"
x-bind:class={"tab === '#{@tab}' ? 'text-indigo-600 dark:text-indigo-500 font-semibold' : 'font-medium'"}
>
<%= @name %>
Expand Down Expand Up @@ -167,10 +167,10 @@ defmodule PlausibleWeb.Components.Billing do
def usage_and_limits_row(assigns) do
~H"""
<tr {@rest}>
<td class={["py-4 pr-1 sm:whitespace-nowrap text-left", @pad && "pl-6"]}>
<td class={["text-sm py-4 pr-1 sm:whitespace-nowrap text-left", @pad && "pl-6"]}>
<%= @title %>
</td>
<td class="py-4 sm:whitespace-nowrap text-right">
<td class="text-sm py-4 sm:whitespace-nowrap text-right">
<%= Cldr.Number.to_string!(@usage) %>
<%= if is_number(@limit), do: "/ #{Cldr.Number.to_string!(@limit)}" %>
</td>
Expand Down Expand Up @@ -242,7 +242,7 @@ defmodule PlausibleWeb.Components.Billing do
id={@id}
onclick={"if (#{@confirmed}) {Paddle.Checkout.open(#{Jason.encode!(%{product: @paddle_product_id, email: @user.email, disableLogout: true, passthrough: @user.id, success: Routes.billing_path(PlausibleWeb.Endpoint, :upgrade_success), theme: "none"})})}"}
class={[
"w-full mt-6 block rounded-md py-2 px-3 text-center font-semibold leading-6 text-white",
"text-sm w-full mt-6 block rounded-md py-2 px-3 text-center font-semibold leading-6 text-white",
!@checkout_disabled && "bg-indigo-600 hover:bg-indigo-500",
@checkout_disabled && "pointer-events-none bg-gray-400 dark:bg-gray-600"
]}
Expand Down
2 changes: 1 addition & 1 deletion lib/plausible_web/live/goal_settings/list.ex
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ defmodule PlausibleWeb.Live.GoalSettings.List do
</:tbody>
</.table>
<% else %>
<p class="mt-12 mb-8 text-center">
<p class="mt-12 mb-8 text-center text-sm">
<span :if={String.trim(@filter_text) != ""}>
No goals found for this site. Please refine or
<.styled_link phx-click="reset-filter-text" id="reset-filter-hint">
Expand Down
2 changes: 1 addition & 1 deletion lib/plausible_web/live/props_settings/list.ex
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ defmodule PlausibleWeb.Live.PropsSettings.List do
</:tbody>
</.table>
<% else %>
<p class="mt-12 mb-8 text-center">
<p class="mt-12 mb-8 text-center text-sm">
<span :if={String.trim(@filter_text) != ""}>
No properties found for this site. Please refine or
<.styled_link phx-click="reset-filter-text" id="reset-filter-hint">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</.button_link>
</.filter_bar>

<p :if={Enum.empty?(@shared_links)} class="mb-8 text-center">
<p :if={Enum.empty?(@shared_links)} class="mb-8 text-center text-sm">
No Shared Links configured for this site.
</p>

Expand Down

0 comments on commit ab5e1fc

Please sign in to comment.