fixes for ckeditor

This commit is contained in:
rulingcom 2025-05-15 22:03:32 +08:00
parent 22a5978e18
commit 833f9ee185
2 changed files with 29 additions and 1 deletions

View File

@ -8,6 +8,7 @@
<%= javascript_include_tag "select2/select2.min" %>
<% end %>
<style type="text/css">
.icons-list-2 {
cursor: all-scroll;
}

View File

@ -1,4 +1,30 @@
<div class="input-prepend input-append start-line curation_section">
<style type="text/css">
.curation_section{
display: flex !important;
flex-wrap: wrap;
}
.main-forms .input-append .tab-content{
width:100%;
}
.tab-pane{
.input-large{
margin-bottom:1em!important;
}
}
.add-on{
margin-bottom:1em!important;
}
.select2-container-multi .select2-choices{
min-width: 200px;
display: table-caption;
}
.input-append, .input-prepend{
font-size: 1em!important;
}
</style>
<div class="input-prepend input-append start-line curation_section">
<span class="tab-content">
<span class="add-on"><%= t("curation.title") %></span>
<% @site_in_use_locales.each_with_index do |locale, i| %>
@ -50,6 +76,7 @@
<%= f.hidden_field :_destroy, :value => nil, :class => 'should_destroy' %>
</span>
<% end %>
<script type="text/javascript">
</script>