fix style error
This commit is contained in:
1 parent
0046efcd4a
commit
8b0a730f6a
5 files changed
+14
-2
No files matched your search
@@ -40,4 +40,5 @@ class AskCategorySetting
|
||||
field :custom_fields, type: Hash,default: {}
|
||||
field :usage_rule
|
||||
field :category_id
|
||||
field :title_layout
|
||||
end
|
||||
@@ -43,6 +43,7 @@ class AskSetting
|
||||
|
||||
field :custom_fields, type: Hash,default: {}
|
||||
field :usage_rule
|
||||
field :title_layout
|
||||
def get_attrs
|
||||
attrs = self.attributes.clone
|
||||
self.fields.each do |k, v|
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
tr.custom_field td:nth-child(1){
|
||||
text-align: left;
|
||||
}
|
||||
thead th:last-child{
|
||||
text-align: left;
|
||||
padding-left: 10em;
|
||||
}
|
||||
td{
|
||||
padding: 0.5em;
|
||||
}
|
||||
@@ -29,7 +33,7 @@
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.center .tab-panel{
|
||||
justify-content: center;
|
||||
justify-content: start;
|
||||
}
|
||||
tr.custom_field {
|
||||
border: 0.1em solid #8e00ff;
|
||||
@@ -160,7 +164,7 @@
|
||||
<td>
|
||||
<%= t("ask.usage_rule") %>
|
||||
</td>
|
||||
<td colspan="2" style="width: 0;overflow: overlay;">
|
||||
<td colspan="2">
|
||||
<%= f.text_area "usage_rule",class: 'ckeditor' %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in new issue
Block a user