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 {
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-weight: normal;
float: right;
@ -58,8 +58,7 @@ a:hover {
.gddicttitle
{
display:block;
-webkit-box-ordinal-group: 1;
-webkit-box-flex: 1;
order: 1;
}
.gdactivearticle .gddictname {
@ -85,7 +84,7 @@ a:hover {
.collapse_expand_area
{
display: block;
-webkit-box-ordinal-group: 3;
order: 3;
}
.gddicticon
@ -94,7 +93,7 @@ a:hover {
vertical-align: text-bottom;
padding-right: -1em;
padding-left: 0.3em;
-webkit-box-ordinal-group: 2;
order: 2;
}
.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover

View file

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