Skip to content

Commit

Permalink
Fix language icon shadow on vocabulary pages
Browse files Browse the repository at this point in the history
This adds the shadow effect we have everywhere else.
  • Loading branch information
jiru committed Feb 5, 2025
1 parent 82ed7b2 commit a14fb22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Template/Vocabulary/add.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $this->set('title_for_layout', $this->Pages->formatTitle($title));
<md-list flex ng-show="ctrl.vocabularyAdded.length > 0">
<md-list-item id="vocabulary_{{item.id}}"
ng-repeat="item in ctrl.vocabularyAdded">
<img class="vocabulary-lang" width="30" height="20"
<img class="vocabulary-lang language-icon" width="30" height="20"
ng-src="/img/flags/{{item.lang}}.svg"/>
<div class="vocabulary-text" flex>{{item.text}}</div>
<md-icon ng-show="item.duplicate">warning</md-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/VocabularyHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function vocabulary($vocab) {
));
}
?>
<img class="vocabulary-lang" width="30" height="20"
<img class="vocabulary-lang language-icon" width="30" height="20"
src="/img/flags/<?= $lang ?>.svg"/>
<div class="vocabulary-text" flex><?= $text ?></div>
<md-button ng-cloak class="md-primary" <?= isset($url) ? "href=\"$url\"" : 'ng-disabled="1"' ?>>
Expand Down

0 comments on commit a14fb22

Please sign in to comment.