Merge pull request #205 from Ponkhy/master

Fixed function buttons for smaller screens
This commit is contained in:
Louis Lam 2021-08-11 00:50:43 +08:00 committed by GitHub
commit 2461f5084e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,6 +306,31 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../assets/vars.scss"; @import "../assets/vars.scss";
@media (max-width: 550px) {
.functions {
text-align: center;
}
button, a {
margin-left: 10px !important;
margin-right: 10px !important;
}
}
@media (max-width: 400px) {
.btn {
display: inline-flex;
flex-direction: column;
align-items: center;
padding-top: 10px;
}
a.btn {
padding-left: 25px;
padding-right: 25px;
}
}
.url { .url {
color: $primary; color: $primary;
margin-bottom: 20px; margin-bottom: 20px;