mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 06:01:56 +08:00
Update ExtensionPage Style (#1560)
This commit is contained in:
parent
bf61753361
commit
1f0e9b6280
|
@ -1,3 +1,5 @@
|
|||
@extension-list-column-width: 410px;
|
||||
|
||||
.ExtensionsPage-header {
|
||||
padding: 20px 0;
|
||||
background: @control-bg;
|
||||
|
@ -18,12 +20,15 @@
|
|||
}
|
||||
|
||||
.ExtensionList {
|
||||
columns: 3;
|
||||
column-width: @extension-list-column-width;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
.clearfix();
|
||||
|
||||
> li {
|
||||
break-inside: avoid-column;
|
||||
text-align: left;
|
||||
position: relative;
|
||||
border-radius: 4px;
|
||||
|
@ -96,3 +101,13 @@
|
|||
margin-left: -50px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
@media (max-width: @extension-list-column-width) {
|
||||
.ExtensionListItem-description {
|
||||
display: none;
|
||||
}
|
||||
.ExtensionListItem-version {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user