LMartinezEXEX commited on
Commit
d1c7f42
·
1 Parent(s): 2d74e25

Resize elements in cards

Browse files
Files changed (1) hide show
  1. style.css +9 -1
style.css CHANGED
@@ -119,9 +119,16 @@ a.button {
119
  column-gap: 20px;
120
  }
121
 
 
 
 
 
 
 
 
 
122
  .card-description-flex-container > p {
123
  display: block;
124
- max-width: 780px;
125
  text-align: justify;
126
  }
127
 
@@ -148,6 +155,7 @@ footer > p {
148
  }
149
 
150
  /* Buttons Styling */
 
151
  button#translate {
152
  padding: 0.5rem 0.75rem;
153
  margin: 5px 0 0 0;
 
119
  column-gap: 20px;
120
  }
121
 
122
+ .card-description-flex-container p:first-child {
123
+ flex: 2 1 0;
124
+ }
125
+
126
+ .card-description-flex-container div:nth-child(2) {
127
+ flex: 1 1 0;
128
+ }
129
+
130
  .card-description-flex-container > p {
131
  display: block;
 
132
  text-align: justify;
133
  }
134
 
 
155
  }
156
 
157
  /* Buttons Styling */
158
+
159
  button#translate {
160
  padding: 0.5rem 0.75rem;
161
  margin: 5px 0 0 0;