Merge pull request #3202 from gradido/frontend-community-switch_make_pretty

feat(frontend): make community switch looking similar to other inputs
This commit is contained in:
einhornimmond 2023-09-05 22:38:47 +02:00 committed by GitHub
commit 0623743ede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,3 +56,23 @@ export default {
},
}
</script>
<style>
.community-switch > div,
.community-switch ul.dropdown-menu {
width: 100%;
}
.community-switch > div > button {
border-radius: 17px;
height: 50px;
text-align: left;
}
.community-switch .dropdown-toggle::after {
float: right;
top: 50%;
transform: translateY(-50%);
position: relative;
}
.community-switch ul li:first-child {
display: none;
}
</style>