mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-16 10:16:07 +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; }
|
||||
tr td:first-child {
|
||||
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 {
|
||||
padding-right: 3rem; }
|
||||
tr td.gpm-actions {
|
||||
@@ -824,6 +829,9 @@ tr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
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 {
|
||||
display: none; }
|
||||
tr td.gpm-details > .table-wrapper td {
|
||||
@@ -2375,6 +2383,9 @@ button.toast-close-button {
|
||||
padding-bottom: 1rem;
|
||||
margin-bottom: 3rem;
|
||||
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 {
|
||||
color: #e6e6e6;
|
||||
position: absolute;
|
||||
|
||||
@@ -342,7 +342,7 @@ $(function () {
|
||||
plugin = $('[data-gpm-plugin="' + key + '"] .gpm-name');
|
||||
url = plugin.find('a');
|
||||
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;
|
||||
overflow: hidden;
|
||||
|
||||
@include breakpoint(mobile-only) {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.gpm-item-icon {
|
||||
color: darken($content-bg, 3%);
|
||||
position: absolute;
|
||||
|
||||
@@ -45,6 +45,15 @@ tr {
|
||||
|
||||
&:first-child {
|
||||
padding-left: $padding-default;
|
||||
|
||||
@include breakpoint(mobile-only) {
|
||||
padding-left: .5rem;
|
||||
|
||||
.plugin-update-button {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:last-child, &.gpm-actions {
|
||||
@@ -68,6 +77,10 @@ tr {
|
||||
padding: 0;
|
||||
background-color: #f7f7f7;
|
||||
|
||||
@include breakpoint(mobile-only){
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
> .table-wrapper {
|
||||
display: none;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user