Skip to content

Commit

Permalink
[#70322] frontend: extend resources table wrapper when dropdown is pr…
Browse files Browse the repository at this point in the history
…esent
  • Loading branch information
MaciejWas committed Dec 18, 2024
1 parent f5a8df5 commit a825553
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion frontend/src/components/packages/PackagesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Component wraps functionality for displaying and working with rdfm packages.
<template v-if="(packages?.length ?? 0) > 0">
<p>Packages</p>
<div class="resources-table-wrapper">
<table class="resources-table">
<table class="resources-table packages">
<tbody>
<tr v-for="pckg in packages" :key="pckg.id" class="resources-table-row">
<td class="entry">
Expand Down Expand Up @@ -219,6 +219,19 @@ Component wraps functionality for displaying and working with rdfm packages.
}
}

table.resources-table.packages {
width: fit-content;
overflow-x: unset;

&:has(.resources-table-row:nth-last-child(2) #main-button:focus) {
margin-bottom: 30px;
}

&:has(.resources-table-row:last-child #main-button:focus) {
margin-bottom: 130px;
}
}

/* Default state */
.drdn-wrapper {
user-select: none;
Expand Down

0 comments on commit a825553

Please sign in to comment.