Positioning fixes for non-coffee items
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2024-06-27 11:28:27 -04:00
parent ce7fcfc1ea
commit bbfc4d7835
2 changed files with 7 additions and 3 deletions

View File

@ -197,7 +197,7 @@ function mont58_coffee_label_add_sidepanel()
{
add_meta_box(
"mont58_coffee_label_sidepanel",
"Coffee Label",
"Label",
"mont58_coffee_label_render_sidepanel",
"shop_order",
"side",
@ -255,4 +255,4 @@ function mont58coffee_enqueue_fonts()
get_theme_file_uri("/fonts/acumin-variable-concept.css")
);
}
add_action("wp_enqueue_scripts", "mont58coffee_enqueue_fonts");
add_action("wp_enqueue_scripts", "mont58coffee_enqueue_fonts");

View File

@ -31,6 +31,7 @@ if(!is_user_logged_in()){
display: flex;
align-items: center;
justify-content: center;
position: relative;
background: linear-gradient(
0deg,
rgba(255, 255, 255, 1) 28%,
@ -75,7 +76,10 @@ if(!is_user_logged_in()){
}
.label .order-details {
padding-bottom: 1em;
position: absolute;
text-align: center;
width: 88%;
top: 120px;
font-size: calc(0.35 * 17px);
}