fix: center the + inside the "add" button (in panel view)

This commit is contained in:
2025-05-17 14:09:20 +02:00
parent 7c78386b04
commit 840bc3e0bd
2 changed files with 8 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ body {
background-color: #2898BD; background-color: #2898BD;
width: 70px; width: 70px;
height: 70px; height: 70px;
padding: 30px; /* padding: 30px; */
z-index: 50; z-index: 50;
} }
@@ -177,3 +177,9 @@ body {
height: 50px; height: 50px;
line-height: 1; line-height: 1;
} }
.center-text {
display: flex;
justify-content: center;
align-items: center;
}

View File

@@ -88,7 +88,7 @@
<script type="module" src="/js/eventDelete.js"></script> <script type="module" src="/js/eventDelete.js"></script>
</div> </div>
<a href="/create.html" class="button-add mt-xl-auto rounded-5 align-content-center"> <a href="/create.html" class="button-add mt-xl-auto rounded-5 align-content-center center-text">
<svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#FFFFFF"><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z" /></svg> <svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#FFFFFF"><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z" /></svg>
</a> </a>
</body> </body>