mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 05:46:47 +08:00
Merge pull request #5979 from wandji20/wb-SCI-9018
Fix CSS issues in protocols, and quick start(new task) [SCI-9018]
This commit is contained in:
commit
22bf9eaced
5 changed files with 11 additions and 6 deletions
|
@ -33,6 +33,12 @@
|
||||||
.create-new {
|
.create-new {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-option {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: clip;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-projects-visibility {
|
.new-projects-visibility {
|
||||||
|
|
|
@ -964,9 +964,7 @@ li.module-hover {
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
grid-column: 1 span;
|
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,6 +207,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.vis {
|
.vis {
|
||||||
|
display: inline-block;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="protocol-content" class="protocol-content collapse in" aria-expanded="true">
|
<div id="protocol-content" class="protocol-content collapse in" aria-expanded="true">
|
||||||
<div>
|
<div class="ml-9 mb-8">
|
||||||
<div class="protocol-name" v-if="!inRepository">
|
<div class="protocol-name" v-if="!inRepository">
|
||||||
<InlineEdit
|
<InlineEdit
|
||||||
v-if="urls.update_protocol_name_url"
|
v-if="urls.update_protocol_name_url"
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="protocol-description-container" :class=" inRepository ? 'protocol-description collapse in' : ''" >
|
<div id="protocol-description-container" :class=" inRepository ? 'protocol-description collapse in' : ''" >
|
||||||
<div v-if="urls.update_protocol_description_url">
|
<div class="ml-1" v-if="urls.update_protocol_description_url">
|
||||||
<Tinymce
|
<Tinymce
|
||||||
:value="protocol.attributes.description"
|
:value="protocol.attributes.description"
|
||||||
:value_html="protocol.attributes.description_view"
|
:value_html="protocol.attributes.description_view"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p class="data-block" v-if="protocol.attributes.published">
|
<p class="data-block" v-if="protocol.attributes.published">
|
||||||
<span>{{ i18n.t("protocols.header.published_by") }}</span>
|
<span>{{ i18n.t("protocols.header.published_by") }}</span>
|
||||||
<img :src="protocol.attributes.published_by.avatar"/>
|
<img :src="protocol.attributes.published_by.avatar" class="rounded-full"/>
|
||||||
{{ protocol.attributes.published_by.name }}
|
{{ protocol.attributes.published_by.name }}
|
||||||
</p>
|
</p>
|
||||||
<p class="data-block">
|
<p class="data-block">
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p class="data-block">
|
<p class="data-block">
|
||||||
<span>{{ i18n.t("protocols.header.added_by") }}</span>
|
<span>{{ i18n.t("protocols.header.added_by") }}</span>
|
||||||
<img :src="protocol.attributes.added_by.avatar"/>
|
<img :src="protocol.attributes.added_by.avatar" class="rounded-full"/>
|
||||||
{{ protocol.attributes.added_by.name }}
|
{{ protocol.attributes.added_by.name }}
|
||||||
</p>
|
</p>
|
||||||
<p class="data-block authors-data">
|
<p class="data-block authors-data">
|
||||||
|
|
Loading…
Add table
Reference in a new issue