mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:20:43 +08:00
FIX: Adjust border-radius in multiple locations (#23278)
This commit is contained in:
parent
887772db6b
commit
1209efb63c
|
@ -209,6 +209,16 @@
|
|||
width: 50%;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
&.themes-tab {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
&.components-tab {
|
||||
border-top-left-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: var(--quaternary);
|
||||
|
@ -228,6 +238,8 @@
|
|||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
max-height: 60vh;
|
||||
border-bottom-right-radius: var(--d-border-radius);
|
||||
border-bottom-left-radius: var(--d-border-radius);
|
||||
@media screen and (max-height: 1000px) {
|
||||
max-height: 50vh;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
top: 100%; // directly underneath .panel
|
||||
right: -10px; // 10px to the right of .panel - adjust as needed
|
||||
max-height: 80vh;
|
||||
border-radius: var(--d-border-radius-large);
|
||||
}
|
||||
|
||||
.menu-panel {
|
||||
|
@ -100,6 +101,7 @@
|
|||
right: 0;
|
||||
width: 320px;
|
||||
padding: 0;
|
||||
border-top-right-radius: 0px;
|
||||
|
||||
.panel-body-bottom {
|
||||
flex: 0;
|
||||
|
@ -122,6 +124,7 @@
|
|||
display: flex;
|
||||
padding: 0.857em;
|
||||
position: relative;
|
||||
border-radius: 0px;
|
||||
|
||||
.d-icon {
|
||||
color: var(--primary-medium);
|
||||
|
|
|
@ -25,6 +25,8 @@ $search-pad-horizontal: 0.5em;
|
|||
display: flex;
|
||||
align-items: center;
|
||||
border: 1px solid var(--primary-medium);
|
||||
border-radius: var(--d-border-radius-large);
|
||||
overflow: hidden;
|
||||
input#search-term {
|
||||
border-width: 0;
|
||||
margin-bottom: 0;
|
||||
|
|
|
@ -124,3 +124,10 @@
|
|||
line-height: var(--line-height-large);
|
||||
}
|
||||
}
|
||||
|
||||
.user-navigation .nav-pills > li {
|
||||
a,
|
||||
button {
|
||||
border-radius: 0px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user