Skip to content

Commit 4d03d12

Browse files
committed
Fix css issue with add new topic button
1 parent b5168bb commit 4d03d12

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

frontend/src/app/questions/question-dialog.component.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@
3838
optionLabel="label"
3939
optionValue="value"
4040
placeholder="Select Topics">
41-
<ng-template let-option pTemplate="item">
41+
<ng-template class="w-12 p-fluid" let-option pTemplate="item">
4242
<span>{{ option.label }}</span>
4343
</ng-template>
4444

45-
<ng-template pTemplate="footer">
45+
<ng-template pTemplate="footer" class="w-12 p-fluid">
4646
<p-button
47+
class="w-12 p-fluid"
4748
*ngIf="isNoResultsFound"
4849
type="button"
4950
label="Add as New Topic"
@@ -59,7 +60,7 @@
5960
<label for="questionTopics">Difficulty</label>
6061

6162
<p-dropdown
62-
class="w-12 flex align-items-center justify-content-center"
63+
class="w-12"
6364
autoWidth="false"
6465
[required]="true"
6566
[style]="{ width: '100%' }"

0 commit comments

Comments
 (0)