Fix Settings app layout for RmlUi flex rendering
Add explicit width and flex container properties to fix elements collapsing to zero width in RmlUi: - .settings-list: Add width: 100%, display: flex, flex-direction: column - .settings-section: Add width: 100%, display: flex, flex-direction: column - .settings-item: Add width: 100%, box-sizing: border-box - .user-card: Add width: 100%, box-sizing: border-box Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,10 +17,16 @@
|
|||||||
.settings-list {
|
.settings-list {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section {
|
.settings-section {
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-header {
|
.settings-header {
|
||||||
@@ -36,6 +42,8 @@
|
|||||||
padding: 16px;
|
padding: 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: #1E1E1E;
|
background-color: #1E1E1E;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-item:hover {
|
.settings-item:hover {
|
||||||
@@ -117,6 +125,8 @@
|
|||||||
padding: 20px 16px;
|
padding: 20px 16px;
|
||||||
background-color: #1E1E1E;
|
background-color: #1E1E1E;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-avatar {
|
.user-avatar {
|
||||||
|
|||||||
Reference in New Issue
Block a user