mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-16 18:26:06 +01:00
Plugins page update buttons fixed
Word wrap also inserted to display info.
This commit is contained in:
@@ -810,6 +810,11 @@ tr {
|
|||||||
flex: 2; }
|
flex: 2; }
|
||||||
tr td:first-child {
|
tr td:first-child {
|
||||||
padding-left: 3rem; }
|
padding-left: 3rem; }
|
||||||
|
@media only all and (max-width: 47.938em) {
|
||||||
|
tr td:first-child {
|
||||||
|
padding-left: .5rem; }
|
||||||
|
tr td:first-child .plugin-update-button {
|
||||||
|
float: left; } }
|
||||||
tr td:last-child, tr td.gpm-actions {
|
tr td:last-child, tr td.gpm-actions {
|
||||||
padding-right: 3rem; }
|
padding-right: 3rem; }
|
||||||
tr td.gpm-actions {
|
tr td.gpm-actions {
|
||||||
@@ -824,6 +829,9 @@ tr {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: #f7f7f7; }
|
background-color: #f7f7f7; }
|
||||||
|
@media only all and (max-width: 47.938em) {
|
||||||
|
tr td.gpm-details {
|
||||||
|
word-wrap: break-word; } }
|
||||||
tr td.gpm-details > .table-wrapper {
|
tr td.gpm-details > .table-wrapper {
|
||||||
display: none; }
|
display: none; }
|
||||||
tr td.gpm-details > .table-wrapper td {
|
tr td.gpm-details > .table-wrapper td {
|
||||||
@@ -2375,6 +2383,9 @@ button.toast-close-button {
|
|||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
overflow: hidden; }
|
overflow: hidden; }
|
||||||
|
@media only all and (max-width: 47.938em) {
|
||||||
|
.gpm .gpm-item-info {
|
||||||
|
word-wrap: break-word; } }
|
||||||
.gpm .gpm-item-info .gpm-item-icon {
|
.gpm .gpm-item-info .gpm-item-icon {
|
||||||
color: #e6e6e6;
|
color: #e6e6e6;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ $(function () {
|
|||||||
plugin = $('[data-gpm-plugin="' + key + '"] .gpm-name');
|
plugin = $('[data-gpm-plugin="' + key + '"] .gpm-name');
|
||||||
url = plugin.find('a');
|
url = plugin.find('a');
|
||||||
if (!plugin.find('.badge.update').length) {
|
if (!plugin.find('.badge.update').length) {
|
||||||
plugin.append('<a href="' + url.attr('href') + '"><span class="badge update">' + translations.PLUGIN_ADMIN.UPDATE_AVAILABLE + '!</span></a>');
|
plugin.append('<a class="plugin-update-button" href="' + url.attr('href') + '"><span class="badge update">' + translations.PLUGIN_ADMIN.UPDATE_AVAILABLE + '!</span></a>');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -46,6 +46,10 @@
|
|||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@include breakpoint(mobile-only) {
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
.gpm-item-icon {
|
.gpm-item-icon {
|
||||||
color: darken($content-bg, 3%);
|
color: darken($content-bg, 3%);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -45,6 +45,15 @@ tr {
|
|||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
padding-left: $padding-default;
|
padding-left: $padding-default;
|
||||||
|
|
||||||
|
@include breakpoint(mobile-only) {
|
||||||
|
padding-left: .5rem;
|
||||||
|
|
||||||
|
.plugin-update-button {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child, &.gpm-actions {
|
&:last-child, &.gpm-actions {
|
||||||
@@ -68,6 +77,10 @@ tr {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
|
|
||||||
|
@include breakpoint(mobile-only){
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
> .table-wrapper {
|
> .table-wrapper {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user