Fix .listing records height to be the same for td and li

pull/5742/merge
Aleksander Machniak 7 years ago
parent d9197c3bca
commit 60f738db6c

@ -20,17 +20,14 @@
@page-min-width: 240px; @page-min-width: 240px;
@layout-menu-width: 5rem; @layout-menu-width: 5rem;
@layout-header-height: 4.2rem; @layout-header-height: 4.2rem;
@layout-header-font-size: 1rem; @layout-header-font-size: 1rem;
@layout-pagenav-height: 2rem; @layout-pagenav-height: 2rem;
@layout-touch-header-height: @layout-header-height; @layout-touch-header-height: @layout-header-height;
@layout-touch-header-font-size: 1.2rem; @layout-touch-header-font-size: 1.2rem;
@layout-touch-menu-record-height: 3.6rem; @layout-touch-menu-record-height: 3.6rem;
@layout-touch-menu-record-font-size: 1.2rem; @layout-touch-menu-record-font-size: 1.2rem;
@layout-touch-icon-width: 2.2em; @layout-touch-icon-width: 2.2em;
@layout-contact-icon-width: 112px; @layout-contact-icon-width: 112px;

@ -472,9 +472,9 @@ td.editfield { width: 99%; /* TODO */ }
ul.proplist { ul.proplist {
padding-left: 15px; padding-left: 15px;
margin-bottom: 0; margin-bottom: 0;
list-style-type: none;
li { li {
list-style-type: none;
line-height: 2.4rem; line-height: 2.4rem;
margin-bottom: .25rem; margin-bottom: .25rem;
display: flex; display: flex;

@ -38,9 +38,7 @@
} }
li a { li a {
/* have to be inline-block for Chrome, there are issues display: block;
with block on threelists, Firefox works with block fine */
display: inline-block;
text-decoration: none; text-decoration: none;
cursor: default; cursor: default;
width: 100%; width: 100%;
@ -119,7 +117,6 @@ table.listing {
} }
ul.listing { ul.listing {
list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -131,6 +128,7 @@ ul.listing {
.overflow-ellipsis; .overflow-ellipsis;
white-space: nowrap; white-space: nowrap;
position: relative; position: relative;
list-style: none;
ul { ul {
border-top: 1px solid @color-list-border; border-top: 1px solid @color-list-border;
@ -741,9 +739,9 @@ html.touch {
.attachmentslist { .attachmentslist {
padding: 0; padding: 0;
list-style: none;
li { li {
list-style: none;
display: inline-flex; display: inline-flex;
white-space: nowrap; white-space: nowrap;
line-height: @attachmentslist-item-height; line-height: @attachmentslist-item-height;

@ -28,6 +28,7 @@
height: 1.75rem; height: 1.75rem;
line-height: 1.5; line-height: 1.5;
width: @layout-menu-width; width: @layout-menu-width;
margin: 0;
} }
&:hover { &:hover {
@ -186,10 +187,6 @@
.menu-header { .menu-header {
display: none; display: none;
} }
a:before {
margin: 0;
}
} }
.menu-header { .menu-header {

Loading…
Cancel
Save