mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
fix: one element of source block's border overflow its parent's width
This commit is contained in:
parent
ced10676bd
commit
ed6e8b3b91
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="overflow: hidden;">
|
<div style="overflow: hidden;">
|
||||||
<div
|
<div
|
||||||
style="width: 100%; border-radius: 8px; border: 2px solid #5c657eff; height: 39px; background-color: black; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer;"
|
style="width: 100%; box-sizing: border-box; border-radius: 8px; border: 2px solid #5c657eff; height: 39px; background-color: black; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer;"
|
||||||
@click="collapse = !collapse"
|
@click="collapse = !collapse"
|
||||||
>
|
>
|
||||||
<span v-if="collapse">Click to Expand</span>
|
<span v-if="collapse">Click to Expand</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user