|
175 | 175 | transform: var(--calcite-sheet-hidden-position-internal);
|
176 | 176 | }
|
177 | 177 |
|
| 178 | +.content-container { |
| 179 | + @apply flex flex-1 relative max-h-full max-w-full overflow-hidden; |
| 180 | +} |
| 181 | + |
178 | 182 | .container--open .content {
|
179 | 183 | transform: translate3d(0, 0, 0);
|
180 | 184 | }
|
181 | 185 |
|
182 | 186 | :host([display-mode="float"]) .content,
|
183 |
| -:host([display-mode="float"]) .container { |
| 187 | +:host([display-mode="float"]) .container, |
| 188 | +:host([display-mode="float"]) .content-container { |
184 | 189 | @apply rounded;
|
185 | 190 | }
|
186 | 191 |
|
|
229 | 234 | @apply flex-col-reverse;
|
230 | 235 | }
|
231 | 236 |
|
232 |
| -:host([resizable][position="inline-start"]), |
233 |
| -:host([resizable][position="inline-end"]) { |
| 237 | +:host([resizable][position="inline-start"]) { |
234 | 238 | .content {
|
235 | 239 | padding-inline-end: var(--calcite-size-fixed-sm-plus);
|
236 | 240 | }
|
237 | 241 | }
|
238 | 242 |
|
239 |
| -:host([resizable][position="block-start"]), |
240 |
| -:host([resizable][position="block-end"]) { |
| 243 | +:host([resizable][position="inline-end"]) { |
| 244 | + .content { |
| 245 | + padding-inline-start: var(--calcite-size-fixed-sm-plus); |
| 246 | + } |
| 247 | +} |
| 248 | + |
| 249 | +:host([resizable][position="block-start"]) { |
241 | 250 | .content {
|
242 | 251 | padding-block-end: var(--calcite-size-fixed-sm-plus);
|
243 | 252 | }
|
244 | 253 | }
|
245 | 254 |
|
| 255 | +:host([resizable][position="block-end"]) { |
| 256 | + .content { |
| 257 | + padding-block-start: var(--calcite-size-fixed-sm-plus); |
| 258 | + } |
| 259 | +} |
| 260 | + |
246 | 261 | .resize-handle {
|
247 | 262 | @apply absolute flex justify-center items-center select-none box-border outline-none;
|
248 | 263 | --calcite-internal-sheet-resize-handle-offset: calc(
|
|
279 | 294 | inline-size: var(--calcite-size-fixed-sm-plus);
|
280 | 295 | border-inline-start: 1px solid var(--calcite-color-border-3);
|
281 | 296 | }
|
| 297 | + |
| 298 | + &:host([display-mode="float"]) .resize-handle-bar { |
| 299 | + @apply rounded-e; |
| 300 | + } |
282 | 301 | }
|
283 | 302 |
|
284 | 303 | :host([position="inline-end"]) {
|
|
293 | 312 | inline-size: var(--calcite-size-fixed-sm-plus);
|
294 | 313 | border-inline-end: 1px solid var(--calcite-color-border-3);
|
295 | 314 | }
|
| 315 | + |
| 316 | + &:host([display-mode="float"]) .resize-handle-bar { |
| 317 | + @apply rounded-s; |
| 318 | + } |
296 | 319 | }
|
297 | 320 |
|
298 | 321 | :host([position="block-start"]) {
|
299 | 322 | .resize-handle {
|
300 |
| - block-size: var(--calcite-size-fixed-sm-plus); |
| 323 | + block-size: var(--calcite-size-fixed-xxl); |
301 | 324 | inline-size: 100%;
|
302 | 325 | inset-block-end: var(--calcite-internal-sheet-resize-handle-offset);
|
303 | 326 | }
|
|
307 | 330 | block-size: var(--calcite-size-fixed-sm-plus);
|
308 | 331 | border-block-start: 1px solid var(--calcite-color-border-3);
|
309 | 332 | }
|
| 333 | + |
| 334 | + &:host([display-mode="float"]) .resize-handle-bar { |
| 335 | + @apply rounded-b; |
| 336 | + } |
310 | 337 | }
|
311 | 338 |
|
312 | 339 | :host([position="block-end"]) {
|
313 | 340 | .resize-handle {
|
314 |
| - block-size: var(--calcite-size-fixed-sm-plus); |
| 341 | + block-size: var(--calcite-size-fixed-xxl); |
315 | 342 | inline-size: 100%;
|
316 | 343 | inset-block-start: var(--calcite-internal-sheet-resize-handle-offset);
|
317 | 344 | }
|
|
321 | 348 | block-size: var(--calcite-size-fixed-sm-plus);
|
322 | 349 | border-block-end: 1px solid var(--calcite-color-border-3);
|
323 | 350 | }
|
| 351 | + |
| 352 | + &:host([display-mode="float"]) .resize-handle-bar { |
| 353 | + @apply rounded-t; |
| 354 | + } |
324 | 355 | }
|
325 | 356 |
|
326 | 357 | /**
|
|
0 commit comments