fix widget layout

i18n
xaoxuu 6 years ago
parent 8818232c77
commit 7281550605
  1. 5
      source/less/_widget.less

@ -5,15 +5,16 @@
border-radius: @border-radius-width;
@media(max-width: @on-phone) {
border-radius: 0;
width: 100%;
}
width: @side-width;
max-height: ~"calc(100% - @{header-height} - 4 * @{gap})";
.enable-trans();
&:hover {
&:extend(.z-depth-main-raised);
&:extend(.z-depth-main-raised);
}
&:active {
box-shadow: @box-shadow-card-normal;
box-shadow: @box-shadow-card-normal;
}
.header{
position: -webkit-sticky;

Loading…
Cancel
Save