Shortcode grids: constrain card width so single items do not render huge
This commit is contained in:
@@ -285,7 +285,8 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
}
|
||||
.ac-shortcode-release-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(190px, 240px));
|
||||
justify-content: start;
|
||||
gap: 12px;
|
||||
}
|
||||
.ac-shortcode-release-card {
|
||||
@@ -334,7 +335,8 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
}
|
||||
.ac-shortcode-artists-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(190px, 240px));
|
||||
justify-content: start;
|
||||
gap: 12px;
|
||||
}
|
||||
.ac-shortcode-artist-card {
|
||||
|
||||
Reference in New Issue
Block a user