Fixed rounded on div in social page

This commit is contained in:
2026-03-29 11:33:41 +01:00
parent 53f6667035
commit d43aa9270d
5 changed files with 19 additions and 9 deletions
@@ -1,3 +1,9 @@
<p>
challenge-card works!
</p>
<ion-card>
<ion-card-header>
<ion-card-subtitle>Titre de la carte</ion-card-subtitle>
</ion-card-header>
<ion-card-content>
Here's a small text description for the card content. Nothing more, nothing less.
</ion-card-content>
</ion-card>
@@ -1,9 +1,13 @@
import { Component, OnInit } from '@angular/core';
import {IonicModule} from "@ionic/angular";
@Component({
selector: 'app-challenge-card',
templateUrl: './challenge-card.component.html',
styleUrls: ['./challenge-card.component.scss'],
selector: 'app-challenge-card',
templateUrl: './challenge-card.component.html',
styleUrls: ['./challenge-card.component.scss'],
imports: [
IonicModule
]
})
export class ChallengeCardComponent implements OnInit {
@@ -1,5 +1,5 @@
@if (friendsRequest().length > 0) {
<div class="rounded-3xl px-5 m-3 bg-white overflow-auto font-mono border-1 border-gray-300">
<div class="rounded-xl px-5 m-3 bg-white overflow-auto font-mono border-1 border-gray-300">
<ion-list>
@for (request of friendsRequest(); track request.userId; let i = $index) {
@if (i == friendsRequest().length - 1) {
@@ -1,5 +1,5 @@
@if (friends().length > 0) {
<div class="rounded-3xl px-5 m-3 bg-white font-mono border-1 border-gray-300">
<div class="rounded-xl px-5 m-3 bg-white font-mono border-1 border-gray-300">
<ion-list>
@for (friend of friends(); track friend.friendId; let i = $index) {
@if (i == friends().length - 1) {
@@ -9,7 +9,7 @@
</ion-searchbar>
@if (isActive()) {
<div class="rounded-3xl px-5 ml-3 mr-3 mb-4 bg-white font-mono border-1 border-gray-300 overflow-auto">
<div class="rounded-xl px-5 ml-3 mr-3 mb-4 bg-white font-mono border-1 border-gray-300 overflow-auto">
@if (results().length > 0) {
<ion-list>
@for (result of results(); track result; let i = $index) {