Skip to content

Commit ca8eddf

Browse files
authored
Adjust CSS for better alignment (EFForg#19856)
1 parent c8c5aae commit ca8eddf

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

‎chromium/pages/options/style.css‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ body{
88
/*---------
99
# GRID LAYOUT
1010
---------*/
11+
.header-wrapper, .section-wrapper {
12+
margin: auto;
13+
}
1114
.header-wrapper {
1215
display: inline-flex;
1316
grid-column: 2;
@@ -20,6 +23,9 @@ body{
2023
#add-disabled-site-wrapper {
2124
float: left;
2225
}
26+
#add-update-channel-wrapper {
27+
display: inline-block;
28+
}
2329

2430
a.settings{
2531
background-color: #1c87c9;
@@ -77,20 +83,19 @@ img.remove{
7783
cursor: pointer;
7884
float: right;
7985
height: 15px;
80-
margin: 10px 0 0 8%;
86+
margin-top: -34px;
8187
width: 15px;
8288
}
8389
.disabled-rule-list-item:last-of-type {
8490
border-bottom: none;
8591
}
8692
.disabled-rule-list-item {
8793
border-bottom: 1px solid #ccc;
88-
display: inline-flex;
89-
margin-left: 5%;
90-
width: 80%;
94+
clear: both;
9195
}
9296
.disabled-rule-list-item p {
93-
width: 100%;
97+
width: 80%;
98+
word-wrap: anywhere;
9499
}
95100

96101
.section-header{
@@ -126,10 +131,11 @@ img.remove{
126131
}
127132

128133
.update-channel{
129-
margin-top: 30px;
130-
margin-bottom: 30px;
131134
border: 1px solid grey;
132135
border-radius: 20px;
136+
margin-top: 30px;
137+
margin-bottom: 30px;
138+
padding: 6px;
133139
}
134140

135141
.update-channel-name{

0 commit comments

Comments
 (0)