Skip to content

Commit b47127c

Browse files
committed
fix
1 parent 2464749 commit b47127c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

templates/projects/view.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}
22

33
<div class="ui container fluid padded projects-view">
4-
<div class="ui container flex-text-block tw-flex-wrap tw-mb-4">
4+
<div class="ui container flex-text-block tw-flex-wrap tw-mb-4 project-header">
55
<h2 class="tw-mb-0">{{.Project.Title}}</h2>
66
<div class="tw-flex-1"></div>
77
<div class="ui secondary menu tw-m-0">
@@ -64,7 +64,7 @@
6464
{{end}}
6565
</div>
6666

67-
<div class="ui container">
67+
<div class="ui container project-description">
6868
{{$.Project.RenderedContent}}
6969
<div class="divider"></div>
7070
</div>

web_src/css/features/projects.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
opacity: 0;
100100
}
101101

102-
.fullscreen.projects-view .ui.container.flex-text-block {
102+
.fullscreen.projects-view .project-header {
103103
position: fixed;
104104
z-index: 1000;
105105
top: 0;
@@ -113,7 +113,7 @@
113113
}
114114

115115
/* Hide project-description in full-screen due to its variable height. No need to show it for better space use. */
116-
.fullscreen.projects-view div[class="ui container"] {
116+
.fullscreen.projects-view .project-description {
117117
display: none;
118118
}
119119

0 commit comments

Comments
 (0)