Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Apr 17, 2024
1 parent 4507379 commit 23d73ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions assets/css/translation-events.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
.event-details-stats table {
margin: 1rem;
}

.event-details-stats table {
width: 100%;
table-layout: fixed;
Expand Down Expand Up @@ -330,10 +331,16 @@ a.event-page-edit-link:hover {
border-bottom: var(--gp-color-btn-primary-bg) thin solid;
text-decoration: none;
}

ul.text-snippets {
padding: 0;
margin-left: 160px;
}

ul#translation-links li {
margin-bottom: .5em;
}

/* show the event-details-right below instead of on the right on mobile */
@media (max-width: 768px) {

Expand Down
2 changes: 1 addition & 1 deletion templates/event-translations-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
);
?>
</h4>
<ul>
<ul id="translation-links">
<?php foreach ( $translation_sets as $translation_set ) : ?>
<li id="translations_link_<?php echo esc_attr( $translation_set->translation_set_id ); ?>"><a href="#translations_<?php echo esc_attr( $translation_set->translation_set_id ); ?>"><?php echo esc_html( gp_project_names_from_root( $projects[ $translation_set->translation_set_id ] ) ); ?></a></li>
<?php endforeach; ?>
Expand Down

0 comments on commit 23d73ad

Please sign in to comment.