Thomas Rabaix 13 سال پیش
والد
کامیت
82b03f22f7
3فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 5 0
      Resources/public/css/layout.css
  2. 1 1
      Resources/views/CRUD/base_list.html.twig
  3. 1 1
      Resources/views/CRUD/base_show.html.twig

+ 5 - 0
Resources/public/css/layout.css

@@ -206,4 +206,9 @@ body.sonata-bc {
 
 
 .sonata-bc .sonata-ba-view-container:nth-child(2n):hover td, .sonata-ba-view-container:nth-child(2n):hover th {
 .sonata-bc .sonata-ba-view-container:nth-child(2n):hover td, .sonata-ba-view-container:nth-child(2n):hover th {
   background-color:#f5f5f5;
   background-color:#f5f5f5;
+}
+
+.sonata-bc .container-fluid > .sidebar
+{
+    top: auto;
 }
 }

+ 1 - 1
Resources/views/CRUD/base_list.html.twig

@@ -148,7 +148,7 @@ file that was distributed with this source code.
                     <table>
                     <table>
                         <tr>
                         <tr>
                             <td>
                             <td>
-                                <table>
+                                <table class="bordered-table">
                                     {% for filter in admin.datagrid.filters %}
                                     {% for filter in admin.datagrid.filters %}
                                         <tr id="filter_{{ filter.name }}_row">
                                         <tr id="filter_{{ filter.name }}_row">
                                             <td class="filter-title">{{ admin.trans(filter.label) }}</td>
                                             <td class="filter-title">{{ admin.trans(filter.label) }}</td>

+ 1 - 1
Resources/views/CRUD/base_show.html.twig

@@ -32,7 +32,7 @@ file that was distributed with this source code.
 {% block show %}
 {% block show %}
     <div class="sonata-ba-view">
     <div class="sonata-ba-view">
         {% for name, view_group in admin.showgroups %}
         {% for name, view_group in admin.showgroups %}
-            <table>
+            <table class="bordered-table">
                 {% if name %}
                 {% if name %}
                     <tr class="sonata-ba-view-title">
                     <tr class="sonata-ba-view-title">
                         <td colspan="2">
                         <td colspan="2">