Improved HelperDropdownComponent on different devices

This commit is contained in:
Mia Rose Winter 2024-01-22 16:30:03 +01:00
parent 69ecf0d564
commit e33ffd463e
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
<details class="dropdown dropdown-end"> <details class="dropdown max-lg:dropdown-bottom max-lg:dropdown-end lg:dropdown-right">
<summary class="btn btn-circle btn-ghost btn-xs text-info"> <summary class="btn btn-circle btn-ghost btn-xs text-info">
<svg tabindex="0" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="w-4 h-4 stroke-current"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <svg tabindex="0" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="w-4 h-4 stroke-current"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
</summary> </summary>
<div class="card compact dropdown-content z-[1] shadow bg-base-100 dark:bg-base-200 rounded-box w-64"> <div class="card compact dropdown-content z-[1] shadow bg-base-100 dark:bg-base-200 rounded-box w-48 lg:w-64">
<div class="card-body"> <div class="card-body">
@if (!string.IsNullOrWhiteSpace(Title)) { @if (!string.IsNullOrWhiteSpace(Title)) {
<h2 class="card-title">@Title</h2> <h2 class="card-title">@Title</h2>

File diff suppressed because one or more lines are too long