因為系統有共用元件處理顯示透明滾軸的議題,
以為是js異常,結果只有一個專案異常,
最後發現是被css的字體是否換行影響,
.editor table tr td {
word-break: break-all;
}
.editor table tr td {
word-break: break-all;
}
https://codepen.io/navenoc13/pen/YzpXrOg
https://css-tricks.com/almanac/properties/b/backdrop-filter/
.modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
}
.modal-dialog {
position: fixed;
margin: 0;
width: 100%;
height: 100%;
padding: 0;
}
.modal-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border: 2px solid #3c7dcf;
border-radius: 0;
box-shadow: none;
}
.modal-header {
position: absolute;
top: 0;
right: 0;
left: 0;
height: 50px;
padding: 10px;
background: #6598d9;
border: 0;
}
.modal-title {
font-weight: 300;
font-size: 2em;
color: #fff;
line-height: 30px;
}
.modal-body {
position: absolute;
top: 50px;
bottom: 60px;
width: 100%;
font-weight: 300;
overflow: auto;
}
.modal-footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 60px;
padding: 10px;
background: #f1f3f5;
}
https://codepen.io/yewnork/pen/Kpaqeq
| 屬性 | 結果 |
|---|---|
min-width | 任何超過查詢中指定寬度的瀏覽器都會套用規則。 |
max-width | 任何未超過查詢中指定寬度的瀏覽器都會套用規則。 |
min-height | 任何超過查詢中指定高度的瀏覽器都會套用規則。 |
max-height | 任何未超過查詢中指定高度的瀏覽器都會套用規則。 |
orientation=portrait | 任何高度大於或等於寬度的瀏覽器都會套用規則。 |
orientation=landscape | 任何寬度大於高度的瀏覽器都會套用規則 |
.sub-nav li a:hover,.sub-nav li:hover{
color: #000 !important;
/* border-bottom: 2px solid #58616d;*/
/*background是設背景圖,會把icon換掉的,要改backgroupd-color即可*/
/*background:#dfdfdf !important;*/
background-color: #dfdfdf !important;
}