MDL-42392 Blocks: Do not hide blocks if JS is disabled
With JS disabled, it is not possible to change the block visibility user preference and therefore not possible to show content which was hidden. Since the block hiding functionality is a nicety, and we have no controls to show and hide the blocks when JS is disabled, we should instead show the block content regardless of the user preference.
This commit is contained in:
@@ -16,7 +16,7 @@ Block
|
||||
.block .content {
|
||||
padding:10px;
|
||||
}
|
||||
.block.hidden .content {
|
||||
.jsenabled .block.hidden .content {
|
||||
display: none;
|
||||
}
|
||||
.block .content .userpicture {
|
||||
@@ -152,4 +152,4 @@ Block
|
||||
left:0px;
|
||||
bottom: 0px;
|
||||
position:absolute;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
.block .header .commands > a { margin:0 3px; }
|
||||
.block .header .commands .icon img {width:12px;height:12px;}
|
||||
.block .content {padding:4px;}
|
||||
.block.hidden .content {display: none;}
|
||||
.jsenabled .block.hidden .content {display: none;}
|
||||
.block .content .userpicture {width:16px;height:16px;margin-right:6px;}
|
||||
.block .content .list li.listentry {clear:both;}
|
||||
.block .content .list .c0 {display:inline;}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.block.hidden .content {
|
||||
.jsenabled .block.hidden .content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user