Marthee commited on
Commit
215552e
·
verified ·
1 Parent(s): 85c77db

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +22 -13
static/style.css CHANGED
@@ -112,25 +112,34 @@ body{
112
  margin-left: 25px;
113
  }
114
 
115
-
116
- #rightside{
117
-
118
- margin-left:430px ;
119
- margin-right: 20px;
120
  position: absolute;
121
  }
122
- #backgroundimg{
123
- display: block;
 
 
 
 
 
 
 
124
  margin-top: 10px;
 
 
125
  background-color: lightgrey;
126
- width:49%;
127
- height: 407px;
128
- position: absolute;
129
- }
 
130
 
131
- #underimgbuttons{
132
  position: relative;
133
- }
 
134
  ul {
135
  list-style-type: none;
136
  margin: 0;
 
112
  margin-left: 25px;
113
  }
114
 
115
+ #rightside {
116
+ margin-left: 430px;
117
+ margin-right: 5px;
 
 
118
  position: absolute;
119
  }
120
+
121
+ #imgContainer {
122
+ display: inline-block; /* Makes each imgContainer inline and block level */
123
+ margin-bottom: 20px; /* Adds spacing below each container */
124
+ flex-basis: calc(100% - 40px); /* Ensures each container has a minimum width */
125
+ flex-shrink: 0; /* Prevents the container from shrinking */
126
+ }
127
+
128
+ #backgroundimg {
129
  margin-top: 10px;
130
+ display: flex; /* Use flexbox to align items horizontally */
131
+ /* flex-wrap: wrap; Allows items to wrap to the next line if they exceed container width */
132
  background-color: lightgrey;
133
+ /* width: 49%; */
134
+ overflow: auto;
135
+ white-space: nowrap;
136
+ padding: 20px;
137
+ }
138
 
139
+ #underimgbuttons, #imgs {
140
  position: relative;
141
+ flex-shrink: 0; /* Prevents these containers from shrinking */
142
+ }
143
  ul {
144
  list-style-type: none;
145
  margin: 0;