Skip to content

Commit 896ed03

Browse files
committed
fix: #2036
1 parent cf4b727 commit 896ed03

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/app/ideation/components/add-idea/add-idea.component.html

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@
1515
</div>
1616
<div id="create_idea_footer" [@openSlide]="(app.addIdea | async) ? 'open' : 'closed'">
1717
<div id="post_idea_form_wrap" [class.expanded]="toggleExpand">
18-
<div *ngIf="ideation.allowAnonymous" id="anonymous_info_wrap" class="mobile_show"
19-
translate="COMPONENTS.ADD_IDEA.FOOTER_FORM_ANONYMOUS_INFO">
20-
<div class="tooltip" tooltip>
21-
<div class="content_title" translate="COMPONENTS.ADD_IDEA.TOOLTIP_ANONYMOUS_TITLE"></div>
22-
<div class="content_description" translate="COMPONENTS.ADD_IDEA.TOOLTIP_ANONYMOUS_DESCRIPTION"></div>
23-
</div>
24-
</div>
2518
<div class="form_header">
2619
<div class="form_header_title">
2720
<span translate="COMPONENTS.ADD_IDEA.FOOTER_FORM_TITLE"></span>
@@ -40,14 +33,14 @@
4033
</div>
4134

4235
<div class="form_header_actions">
43-
<div *ngIf="ideation.allowAnonymous" id="anonymous_info_wrap" class="mobile_hidden"
36+
<div *ngIf="ideation.allowAnonymous" id="anonymous_info_wrap"
4437
translate="COMPONENTS.ADD_IDEA.FOOTER_FORM_ANONYMOUS_INFO">
4538
<div class="tooltip" tooltip>
4639
<div class="content_title" translate="COMPONENTS.ADD_IDEA.TOOLTIP_ANONYMOUS_TITLE"></div>
4740
<div class="content_description" translate="COMPONENTS.ADD_IDEA.TOOLTIP_ANONYMOUS_DESCRIPTION"></div>
4841
</div>
4942
</div>
50-
<button class="form_header_expand_button" (click)="toggleExpand = !toggleExpand"
43+
<button class="form_header_expand_button mobile_hidden" (click)="toggleExpand = !toggleExpand"
5144
[attr.aria-expanded]="toggleExpand">
5245
<svg class="form_header_expand_icon" [ngClass]="{ rotated: toggleExpand }" width="24" height="24"
5346
viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -282,7 +275,7 @@
282275
</ng-container>
283276
</div>
284277

285-
<div>
278+
<div id="idea_description">
286279
<textarea cosmarkdown name="description" formControlName="description"
287280
cosmarkdowntranslatecharacterstatuskey="COMPONENTS.ADD_IDEA.IDEA_TYPE_CHARACTER_LIMIT" id="idea_description"
288281
[(item)]="description" class="gray_borders" (itemChange)="updateText($event)"

src/app/ideation/components/add-idea/add-idea.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
flex: 1 1 auto;
213213
height: calc(100vh - 200px);
214214

215-
> div:not(.form_header) {
215+
#idea_description {
216216
flex: 1 1 auto;
217217
display: flex;
218218
flex-direction: column;

0 commit comments

Comments
 (0)