Long names in wiki brokes UI
parent
d99a64b35a
commit
aff00383cf
|
@ -6,13 +6,14 @@ div.wrapper(ng-controller="WikiDetailController as ctrl",
|
||||||
sidebar.menu-secondary.extrabar(tg-check-permission="view_wiki_links")
|
sidebar.menu-secondary.extrabar(tg-check-permission="view_wiki_links")
|
||||||
section.wiki-nav(tg-wiki-nav, ng-model="wikiLinks")
|
section.wiki-nav(tg-wiki-nav, ng-model="wikiLinks")
|
||||||
section.main.wiki
|
section.main.wiki
|
||||||
.header
|
header
|
||||||
h1
|
h1
|
||||||
span(tg-bo-bind="project.name")
|
span(tg-bo-bind="project.name")
|
||||||
span.green(translate="PROJECT.SECTION.WIKI")
|
span.green(translate="PROJECT.SECTION.WIKI")
|
||||||
span.wiki-title(ng-bind='wikiTitle')
|
|
||||||
|
|
||||||
div.summary.wiki-summary(tg-wiki-summary, ng-model="wiki", ng-if="wiki.id")
|
div.summary.wiki-summary(tg-wiki-summary, ng-model="wiki", ng-if="wiki.id")
|
||||||
|
h2.wiki-title(ng-bind='wikiTitle')
|
||||||
section.wiki-content(tg-editable-wiki-content, ng-model="wiki")
|
section.wiki-content(tg-editable-wiki-content, ng-model="wiki")
|
||||||
|
|
||||||
tg-attachments(ng-model="wiki", type="wiki_page", ng-if="wiki.id")
|
tg-attachments(ng-model="wiki", type="wiki_page", ng-if="wiki.id")
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
.wysiwyg {
|
.wysiwyg {
|
||||||
line-height: 1.4rem;
|
line-height: 1.4rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -46,7 +47,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
line-height: 1.4rem;
|
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
.codehilite {
|
.codehilite {
|
||||||
|
@ -98,4 +98,8 @@
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
textarea {
|
||||||
|
background: $white;
|
||||||
|
max-height: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
.wysiwyg {
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
textarea {
|
|
||||||
background: $white;
|
|
||||||
max-height: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.save-wiki {
|
.save-wiki {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
.wiki {
|
.wiki {
|
||||||
|
.wiki-title {
|
||||||
|
@extend %light;
|
||||||
|
@extend %larger;
|
||||||
|
}
|
||||||
.remove {
|
.remove {
|
||||||
@extend %small;
|
@extend %small;
|
||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
|
|
Loading…
Reference in New Issue