1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 18:35:56 +02:00

fix: messages inconsistencies (#4174)

* fix: messages inconsistencies

* fix

* chore: message at the page

* fix: permission grid styling broken

* fix
This commit is contained in:
Sami Mazouz
2025-01-31 12:57:45 +01:00
committed by GitHub
parent 7136ad01d5
commit 89ff984446
15 changed files with 97 additions and 40 deletions

View File

@@ -94,23 +94,19 @@
}
}
.Dropdown {
display: block;
.Dropdown-toggle {
width: 100%;
display: block;
text-align: left;
float: none;
margin: -2px 0;
}
.Dropdown-menu {
margin: 0;
margin: 6px 0 0;
}
}
.Button {
text-decoration: none;
.Badge {
margin: -3px 2px -3px 0;
margin: 0 2px 0 0;
}
}
td:not(:hover) .Select-caret,
@@ -126,12 +122,8 @@
margin: -1px 0;
}
.PermissionDropdown {
.Dropdown-toggle {
padding: 5px 0;
margin: -5px 0;
}
.Badge {
margin: -3px 3px -3px 0;
margin: 0 3px 0 0;
box-shadow: none;
}
}

View File

@@ -259,6 +259,12 @@
line-height: inherit;
overflow: hidden;
text-overflow: ellipsis;
display: flex;
flex-direction: column;
}
.Button-helperText {
font-size: 0.73rem;
color: var(--muted-more-color);
}
.Button-icon {
line-height: inherit;

View File

@@ -27,8 +27,8 @@
> a, > button, > span {
padding: 8px 15px;
display: flex;
align-items: center;
gap: 9px;
align-items: center;
width: 100%;
color: var(--text-color);
border-radius: 0;
@@ -51,6 +51,10 @@
flex-shrink: 0;
}
&.hasSubContent {
align-items: flex-start;
}
&.disabled {
opacity: 0.4;
background: none !important;