mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-09 05:18:01 +08:00
fixed mymodule breadcrumb
This commit is contained in:
parent
6c43cb6dad
commit
5e11e3a874
2 changed files with 10 additions and 2 deletions
|
@ -8,7 +8,15 @@
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
|
||||||
.my-module-header {
|
.my-module-header {
|
||||||
.title-row {
|
.my-module-title-row {
|
||||||
|
align-items: center;
|
||||||
|
background: $color-white;
|
||||||
|
display: flex;
|
||||||
|
height: 4em;
|
||||||
|
margin-left: -1.5rem;
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
width: calc(100% + 3rem);
|
||||||
|
|
||||||
.my_module-name {
|
.my_module-name {
|
||||||
max-width: calc(100% - 38rem);
|
max-width: calc(100% - 38rem);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="content-header sticky-header my-module-header">
|
<div class="content-header sticky-header my-module-header">
|
||||||
<div class="title-row">
|
<div class="my-module-title-row">
|
||||||
<i class="sn-icon sn-icon-navigator sci--layout--navigator-open cursor-pointer p-1.5 border rounded border-sn-light-grey mr-4"></i>
|
<i class="sn-icon sn-icon-navigator sci--layout--navigator-open cursor-pointer p-1.5 border rounded border-sn-light-grey mr-4"></i>
|
||||||
<h1 class="my_module-name" data-toggle="tooltip" data-placement="bottom" title="<%= @my_module.name %>">
|
<h1 class="my_module-name" data-toggle="tooltip" data-placement="bottom" title="<%= @my_module.name %>">
|
||||||
<% if @my_module.archived? %>
|
<% if @my_module.archived? %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue