style: minor css changes

This commit is contained in:
Xiao YiFang 2023-04-09 19:41:41 +08:00
parent 8ca51e95c7
commit 21fa719c03
2 changed files with 8 additions and 10 deletions

View file

@ -35,7 +35,7 @@ a:hover {
} }
.gddictname { .gddictname {
display: -webkit-box; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ display: flex; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */
font-size: 12px; font-size: 12px;
font-weight: normal; font-weight: normal;
float: right; float: right;
@ -58,8 +58,7 @@ a:hover {
.gddicttitle .gddicttitle
{ {
display:block; display:block;
-webkit-box-ordinal-group: 1; order: 1;
-webkit-box-flex: 1;
} }
.gdactivearticle .gddictname { .gdactivearticle .gddictname {
@ -85,7 +84,7 @@ a:hover {
.collapse_expand_area .collapse_expand_area
{ {
display: block; display: block;
-webkit-box-ordinal-group: 3; order: 3;
} }
.gddicticon .gddicticon
@ -94,7 +93,7 @@ a:hover {
vertical-align: text-bottom; vertical-align: text-bottom;
padding-right: -1em; padding-right: -1em;
padding-left: 0.3em; padding-left: 0.3em;
-webkit-box-ordinal-group: 2; order: 2;
} }
.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover .gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover

View file

@ -57,7 +57,7 @@ a:hover
.gddictname .gddictname
{ {
display: -webkit-box; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ display: flex;
font-size: 12px; font-size: 12px;
font-weight: normal; font-weight: normal;
float: right; float: right;
@ -78,8 +78,7 @@ a:hover
.gddicttitle .gddicttitle
{ {
display:block; display:block;
-webkit-box-ordinal-group: 1; order: 1;
-webkit-box-flex: 1;
} }
.gdactivearticle .gddictname .gdactivearticle .gddictname
@ -111,7 +110,7 @@ a:hover
.collapse_expand_area .collapse_expand_area
{ {
display: block; display: block;
-webkit-box-ordinal-group: 3; order: 3;
} }
.gddicticon .gddicticon
@ -120,7 +119,7 @@ a:hover
vertical-align: text-bottom; vertical-align: text-bottom;
padding-right: -1em; padding-right: -1em;
padding-left: 0.3em; padding-left: 0.3em;
-webkit-box-ordinal-group: 2; order: 2;
} }
.gddicticon img { .gddicticon img {