Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add language icon to LocaleChooser
Signed-off-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
obulat committed Feb 13, 2020
commit 02655e55c8db99386c7c3369ed991d17c7d0a5d6
Binary file added src/assets/language.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion src/components/LocaleChooser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default {
.locale-chooser-field {
width: 100%;
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-columns: 1fr 1fr;
}
.locale-chooser-field .label {
justify-self: end;
Expand All @@ -56,4 +56,14 @@ export default {
.locale-chooser-field select {
width: 100%;
}
.control .select select {
padding-left:2.5em;
}
.control .select::before {
content: url("../assets/language.png");
position: absolute;
z-index: 10;
left:10px;
top:8px;
}
</style>