Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utilities): make border-radius responsive #20807

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

David-S-22
Copy link

@David-S-22 David-S-22 commented Dec 27, 2024

Description

Add responsive capabilities to border-radius utility to allow for the use of breakpoints. Also updated the border-radius documentation to describe the new functionality and provide an example on how to use it.

resolves #20732

Markup:

<template>
  <div class="d-flex justify-center">
    <v-card
      class="rounded-lg rounded-md-xl"
      width="300px"
    >
      <v-card-text>
        Adjust screen size to see border radius changes 
      </v-card-text>
    </v-card>
  </div>
</template>

@jhanma17
Copy link

jhanma17 commented Jan 2, 2025

Disclaimer: First time trying to contribute to an open source project, so sorry if it's not the right way of doing this.

I think you should take a look at rounded.{size} cases. Setting the responsive option to true makes it read the size option as a breakpoint option, e.g., rounded-lg would be read as rounded-md in lg breakpoints instead of rounded-lg in all breakpoints as it's supposed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Create rounded classes based on breakpoints
2 participants