I'm trying to upgrade from Vuetify/Vue 2->3. I'm not a front-end developer, just tasked with upgrading some legacy code to keep things functioning. Unfortunately, the migration guide seems to assume a level of baseline CSS knowledge and doesn't provide examples of how to fix everything that was removed.
I'm struggling to figure out how to migrate rounded and flat in the following code snippet:
<v-select
class="mr-2 filter-custom-input"
slot="prepend-inner"
v-model="field"
:items="fields"
menu-props="auto"
label="Field"
hide-details
single-line
density="compact"
rounded
flat
theme="dark"
/>
and .v-application in this one (if it even needs to be done?):
<style lang="scss" scoped>
.v-application--is-ltr .v-list-item__icon:first-child,
.v-application--is-ltr .mr {
margin-right: 10px;
}
</style>
Unfortunately, the only advice the migration guide on these is:
roundedprop has been removed. Apply a rounded css class to the menu content element instead. e.g..rounded-te- Global styles previously included as
.v-application por.v-application ulare no longer included. If you need margin forp, or padding-left forulandol, set it manually in your root component’s<style>tag
The above rounded guidance doesn't work just by replacing rounded with .rounded-te (not to mention it talks about this in a different type of control).
It says flat was removed from some other controls and replaced by "a single variant prop", but attempting to replace flat with variant="flat" gave me a syntax error.
Thank you!
(I originally asked this here and it was suggested that I split that into multiple questions)