Sidebar Tweaks

Add horizontal line at bottom
Change style of horizontal likes in menu
Remove minimum height (now all subcategories are closed by default)
This commit is contained in:
Mike Simpson 2023-05-18 11:31:37 +01:00
parent 6398426254
commit 38d53f26c8
4 changed files with 7 additions and 5 deletions

View File

@ -22,4 +22,5 @@
.data-entry-group-body hr { .data-entry-group-body hr {
margin: 1.5em 0 1.5em 0; margin: 1.5em 0 1.5em 0;
border: 1px dashed #ccc;
} }

View File

@ -438,7 +438,9 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
</form> : </form> :
<InfoBox msg="Select a building to view data"></InfoBox> <InfoBox msg="Select a building to view data"></InfoBox>
} }
<hr/>
</div> </div>
</section> </section>
); );
} }

View File

@ -100,8 +100,8 @@
*/ */
.section-body { .section-body {
margin-top: 0.75em; margin-top: 0.75em;
padding: 0 0.75em 5em 0.75em; padding: 0 0.75em 1em 0.75em;
min-height: 80vh; /*min-height: 80vh;*/
} }
.data-section .h3 { .data-section .h3 {
margin: 0; margin: 0;

View File

@ -49,9 +49,8 @@ article .color-block {
} }
hr { hr {
display: block; display: block;
height: 1px; height: 0px;
border: none; border: 1px solid #ccc;
background-color: #ccc;
width: 100%; width: 100%;
margin: 1.0em 0 0.8em 0; margin: 1.0em 0 0.8em 0;
padding: 0; padding: 0;