fixed mymodule breadcrumb

This commit is contained in:
Giga Chubinidze 2023-05-26 03:45:16 +04:00
parent 6c43cb6dad
commit 5e11e3a874
2 changed files with 10 additions and 2 deletions

View file

@ -8,7 +8,15 @@
@import "mixins";
.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 {
max-width: calc(100% - 38rem);
}

View file

@ -1,5 +1,5 @@
<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>
<h1 class="my_module-name" data-toggle="tooltip" data-placement="bottom" title="<%= @my_module.name %>">
<% if @my_module.archived? %>