Skip to content

Commit

Permalink
Fix css issue with add new topic button
Browse files Browse the repository at this point in the history
  • Loading branch information
limcaaarl committed Sep 27, 2024
1 parent b5168bb commit 4d03d12
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/app/questions/question-dialog.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@
optionLabel="label"
optionValue="value"
placeholder="Select Topics">
<ng-template let-option pTemplate="item">
<ng-template class="w-12 p-fluid" let-option pTemplate="item">
<span>{{ option.label }}</span>
</ng-template>

<ng-template pTemplate="footer">
<ng-template pTemplate="footer" class="w-12 p-fluid">
<p-button
class="w-12 p-fluid"
*ngIf="isNoResultsFound"
type="button"
label="Add as New Topic"
Expand All @@ -59,7 +60,7 @@
<label for="questionTopics">Difficulty</label>

<p-dropdown
class="w-12 flex align-items-center justify-content-center"
class="w-12"
autoWidth="false"
[required]="true"
[style]="{ width: '100%' }"
Expand Down

0 comments on commit 4d03d12

Please sign in to comment.