Commit 5c0c2dff authored by Maroun, Kristin's avatar Maroun, Kristin
Browse files

Merge branch '62-change-default-button-size-to-small-in-compact-theme' into 'main'

change default button size, remove uppercase from button text

Closes #62

See merge request ndip/public-packages/nova-trame!49
parents b447500d 26e0983c
Loading
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ html {

.d-grid {
    display: grid;
    gap: 0.25em;
    gap: 0.8em;
    grid-auto-rows: auto;
}

@@ -30,6 +30,12 @@ html {

    .v-btn {
        min-width: 0px;
        padding: 0 8px;
        padding: 5px 5px;
        box-shadow: none;
    }

    .v-btn__content {
        text-transform: none;
    }
}
+3 −1
Original line number Diff line number Diff line
@@ -159,8 +159,10 @@
                        "dot": true
                    },
                    "VBtn": {
                        "density": "default"
                        "density": "compact",
                        "size": "small"
                    },
                    
                    "VTextField": {
                        "VBtn": {
                            "size": "small"
+2 −2
Original line number Diff line number Diff line
@@ -136,14 +136,14 @@ class App(ThemedApp):
                    # [ setup grid complete ]
                    html.P("HBoxLayout")
                    # [ setup hbox ]
                    with HBoxLayout(classes="mb-4"):
                    with HBoxLayout(classes="mb-4", width=400, halign="space-between"):
                        vuetify.VBtn("Button 1")
                        vuetify.VBtn("Button 2")
                        vuetify.VBtn("Button 3")
                    # [ setup hbox complete ]
                    html.P("VBoxLayout")
                    # [ setup vbox ]
                    with VBoxLayout(classes="mb-4"):
                    with VBoxLayout(classes="mb-4", height=100, valign="space-between"):
                        vuetify.VBtn("Button 1")
                        vuetify.VBtn("Button 2")
                        vuetify.VBtn("Button 3")