Add table class for rows with dividers
This commit is contained in:
		
							parent
							
								
									55abbcc5ad
								
							
						
					
					
						commit
						a0727e709f
					
				@ -20,7 +20,17 @@
 | 
				
			|||||||
    @apply pr-2;
 | 
					    @apply pr-2;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  table td {
 | 
					  table td, tbody th {
 | 
				
			||||||
    @apply py-2;
 | 
					    @apply py-2;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  table.divided {
 | 
				
			||||||
 | 
					    @apply divide-y divide-gray-300;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  table.divided tbody {
 | 
				
			||||||
 | 
					    @apply divide-y divide-gray-200;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  table.divided td, table.divided tbody th {
 | 
				
			||||||
 | 
					    @apply py-3;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -21,7 +21,7 @@
 | 
				
			|||||||
  <section>
 | 
					  <section>
 | 
				
			||||||
  <% if @donations.any? %>
 | 
					  <% if @donations.any? %>
 | 
				
			||||||
    <h3>Recent Donations</h3>
 | 
					    <h3>Recent Donations</h3>
 | 
				
			||||||
    <table>
 | 
					    <table class="divided">
 | 
				
			||||||
      <thead>
 | 
					      <thead>
 | 
				
			||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
          <th>User</th>
 | 
					          <th>User</th>
 | 
				
			||||||
 | 
				
			|||||||
@ -24,7 +24,7 @@
 | 
				
			|||||||
  <% if @invitations_used.any? %>
 | 
					  <% if @invitations_used.any? %>
 | 
				
			||||||
    <section>
 | 
					    <section>
 | 
				
			||||||
      <h3>Recently Accepted</h3>
 | 
					      <h3>Recently Accepted</h3>
 | 
				
			||||||
      <table>
 | 
					      <table class="divided">
 | 
				
			||||||
        <thead>
 | 
					        <thead>
 | 
				
			||||||
          <tr>
 | 
					          <tr>
 | 
				
			||||||
            <th>Token</th>
 | 
					            <th>Token</th>
 | 
				
			||||||
 | 
				
			|||||||
@ -20,7 +20,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  <section>
 | 
					  <section>
 | 
				
			||||||
    <h3>Accounts</h3>
 | 
					    <h3>Accounts</h3>
 | 
				
			||||||
    <table>
 | 
					    <table class="divided">
 | 
				
			||||||
      <thead>
 | 
					      <thead>
 | 
				
			||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
          <th>LN Account</th>
 | 
					          <th>LN Account</th>
 | 
				
			||||||
 | 
				
			|||||||
@ -30,7 +30,7 @@
 | 
				
			|||||||
  <% end %>
 | 
					  <% end %>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <section>
 | 
					  <section>
 | 
				
			||||||
    <table>
 | 
					    <table class="divided">
 | 
				
			||||||
      <thead>
 | 
					      <thead>
 | 
				
			||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
          <th>UID</th>
 | 
					          <th>UID</th>
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
<%= render MainSimpleComponent.new do %>
 | 
					<%= render MainSimpleComponent.new do %>
 | 
				
			||||||
  <section>
 | 
					  <section>
 | 
				
			||||||
    <h3>Account</h3>
 | 
					    <h3>Account</h3>
 | 
				
			||||||
    <table class="w-1/2">
 | 
					    <table class="w-1/2 divided">
 | 
				
			||||||
      <tbody>
 | 
					      <tbody>
 | 
				
			||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
          <th>Created at</th>
 | 
					          <th>Created at</th>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user